Verified Commit accb31e5 authored by rw-r-r-0644's avatar rw-r-r-0644
Browse files

wii: Enable resinfs

parent a38f37ed
Pipeline #137669226 passed with stage
in 6 minutes
......@@ -7,7 +7,6 @@
#---------------------------------------------------------------------------------
.SECONDARY:
#---------------------------------------------------------------------------------
DEVKITPRO ?= /opt/devkitpro
DEVKITPPC ?= $(DEVKITPRO)/devkitPPC
export DEVKITPRO
......@@ -31,7 +30,7 @@ RAMFS_DIR := resin
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) -DSDL1 -DNETWORK_MOCK -DWII -DUSE_FILE32API
CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) -DSDL1 -DNETWORK_MOCK -DWII -DUSE_FILE32API -DUSE_RAMFS
CXXFLAGS = $(CFLAGS)
LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map
......@@ -56,6 +55,8 @@ ifneq ($(BUILD),$(notdir $(CURDIR)))
export OUTPUT := $(CURDIR)/$(TARGET)
export TOPDIR := $(CURDIR)
export VPATH := $(foreach dir,$(SOURCES),$(CURDIR)/$(dir)) \
$(foreach dir,$(DATA),$(CURDIR)/$(dir)) \
$(foreach dir,$(TEXTURES),$(CURDIR)/$(dir))
......@@ -121,6 +122,16 @@ run:
#---------------------------------------------------------------------------------
else
#-------------------------------------------------------------------------------
# romfs
#-------------------------------------------------------------------------------
include $(PWD)/libs/chesto/libs/resinfs/share/romfs-wiiu.mk
CFLAGS += $(ROMFS_CFLAGS)
CXXFLAGS += $(ROMFS_CFLAGS)
LIBS += $(ROMFS_LIBS)
OFILES += $(ROMFS_TARGET)
#-------------------------------------------------------------------------------
#---------------------------------------------------------------------------------
# main targets
#---------------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment