mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-23 11:49:15 +01:00
- now using precompiled ext_loader.bin since it won't work after being compiled with ppc r39. use ppc r30 to r37 to compile it if you really need to.
This commit is contained in:
parent
6c32f57284
commit
01cb1b47fc
10
Makefile
10
Makefile
@ -8,12 +8,6 @@ all:
|
||||
@mv -u $(CURDIR_TMP)/resources/app_booter/app_booter.bin \
|
||||
$(CURDIR_TMP)/out/bins/app_booter.bin
|
||||
|
||||
@echo Make WiiFlow Loader
|
||||
@$(MAKE) --no-print-directory -C $(CURDIR_TMP)/resources/extldr \
|
||||
-f $(CURDIR_TMP)/resources/extldr/Makefile
|
||||
@mv -u $(CURDIR_TMP)/resources/extldr/extldr.bin \
|
||||
$(CURDIR_TMP)/out/bins/ext_loader.bin
|
||||
|
||||
@echo Make WiiFlow Booter
|
||||
@$(MAKE) --no-print-directory -C $(CURDIR_TMP)/resources/wiiflow_game_booter \
|
||||
-f $(CURDIR_TMP)/resources/wiiflow_game_booter/Makefile
|
||||
@ -28,10 +22,6 @@ clean:
|
||||
@$(MAKE) --no-print-directory -C $(CURDIR_TMP)/resources/app_booter \
|
||||
-f $(CURDIR_TMP)/resources/app_booter/Makefile clean
|
||||
|
||||
@echo Cleanup WiiFlow Loader
|
||||
@$(MAKE) --no-print-directory -C $(CURDIR_TMP)/resources/extldr \
|
||||
-f $(CURDIR_TMP)/resources/extldr/Makefile clean
|
||||
|
||||
@echo Cleanup WiiFlow Booter
|
||||
@$(MAKE) --no-print-directory -C $(CURDIR_TMP)/resources/wiiflow_game_booter \
|
||||
-f $(CURDIR_TMP)/resources/wiiflow_game_booter/Makefile clean
|
||||
|
@ -45,7 +45,6 @@ DATA := data \
|
||||
data/help \
|
||||
data/sounds
|
||||
INCLUDES := source
|
||||
FALSE_POSITIVES := -Wno-array-bounds -Wno-stringop-overflow -Wno-stringop-overread
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Default build shell script options
|
||||
@ -54,6 +53,7 @@ ios := 249
|
||||
#---------------------------------------------------------------------------------
|
||||
# options for code generation
|
||||
#---------------------------------------------------------------------------------
|
||||
FALSE_POSITIVES := -Wno-array-bounds -Wno-stringop-overflow -Wno-stringop-overread
|
||||
CFLAGS = -g -ggdb -O2 -Wall -Wno-multichar -Wno-address-of-packed-member -Wextra $(FALSE_POSITIVES) $(MACHDEP) $(INCLUDE) -D_GNU_SOURCE -DHAVE_CONFIG_H
|
||||
CXXFLAGS = $(CFLAGS)
|
||||
LDFLAGS = -g -ggdb $(MACHDEP) -Wl,-Map,$(notdir $@).map,--section-start,.init=0x80620000,-wrap,malloc,-wrap,free,-wrap,memalign,-wrap,calloc,-wrap,realloc,-wrap,malloc_usable_size,-wrap,wiiuse_register
|
||||
@ -154,8 +154,9 @@ all:
|
||||
clean:
|
||||
@echo clean ...
|
||||
@rm -fr $(BUILD) $(OUTPUT).elf $(OUTPUT).dol \
|
||||
$(CURDIR)/source/loader/alt_ios_gen.h $(CURDIR)/out/bins/ext_loader.bin \
|
||||
$(CURDIR)/out/bins/ext_booter.bin $(CURDIR)/out/bins/app_booter.bin
|
||||
$(CURDIR)/source/loader/alt_ios_gen.h \
|
||||
$(CURDIR)/out/bins/ext_booter.bin \
|
||||
$(CURDIR)/out/bins/app_booter.bin
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
else
|
||||
|
Binary file not shown.
@ -35,9 +35,8 @@ INCLUDES :=
|
||||
#---------------------------------------------------------------------------------
|
||||
# options for code generation
|
||||
#---------------------------------------------------------------------------------
|
||||
FALSE_POSITIVES := -Wno-array-bounds -Wno-stringop-overflow -Wno-stringop-overread
|
||||
MACHDEP := -mno-eabi -mno-sdata -mcpu=750
|
||||
CFLAGS := -Wall -W -O1 -ffreestanding -std=gnu99 -Wstrict-aliasing=2 $(FALSE_POSITIVES) $(MACHDEP) $(INCLUDE)
|
||||
CFLAGS := -Wall -W -O1 -ffreestanding -std=gnu99 -Wstrict-aliasing=2 $(MACHDEP) $(INCLUDE)
|
||||
LDFLAGS := -nostartfiles -nostdlib $(MACHDEP)
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
@ -10,9 +10,8 @@ OBJCOPY = $(PREFIX)objcopy
|
||||
RANLIB = $(PREFIX)ranlib
|
||||
STRIP = $(PREFIX)strip
|
||||
|
||||
FALSE_POSITIVES := -Wno-array-bounds -Wno-stringop-overflow -Wno-stringop-overread
|
||||
MACHDEP = -mcpu=750 -mno-eabi
|
||||
CFLAGS = $(FALSE_POSITIVES) $(MACHDEP) -O1 -Werror -Wall -pipe -mno-sdata
|
||||
CFLAGS = $(MACHDEP) -O1 -Werror -Wall -pipe -mno-sdata
|
||||
LDFLAGS = $(MACHDEP) -n -nostartfiles -nostdlib -Wl,-T,link.ld -L.
|
||||
ASFLAGS = -D_LANGUAGE_ASSEMBLY -DHW_RVL -x assembler-with-cpp
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user