mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
Add support for the OpenDingux platform
This commit is contained in:
parent
4e3551a5f6
commit
d4bea61c8f
12 changed files with 105 additions and 5 deletions
17
Makefile
17
Makefile
|
@ -55,7 +55,21 @@ asm_cdpico = 0
|
|||
asm_cdmemory = 0
|
||||
endif
|
||||
|
||||
# frontend
|
||||
ifeq "$(PLATFORM)" "opendingux"
|
||||
opk: $(TARGET).opk
|
||||
|
||||
$(TARGET).opk: $(TARGET)
|
||||
$(RM) -rf .opk_data
|
||||
cp -r platform/opendingux/data .opk_data
|
||||
cp $< .opk_data/PicoDrive
|
||||
$(STRIP) .opk_data/PicoDrive
|
||||
mksquashfs .opk_data $@ -all-root -noappend -no-exports -no-xattrs
|
||||
|
||||
OBJS += platform/opendingux/inputmap.o
|
||||
|
||||
# OpenDingux is a generic platform, really.
|
||||
PLATFORM := generic
|
||||
endif
|
||||
ifeq "$(PLATFORM)" "generic"
|
||||
OBJS += platform/linux/emu.o platform/linux/blit.o # FIXME
|
||||
OBJS += platform/common/plat_sdl.o
|
||||
|
@ -156,6 +170,7 @@ target_: $(TARGET)
|
|||
|
||||
clean:
|
||||
$(RM) $(TARGET) $(OBJS)
|
||||
$(RM) -r .opk_data
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS) $(LDLIBS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue