mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-16 15:49:23 +01:00
0d46322cbb
Add the requirement to have wut installed Modify the plugin makefile, now you need to enable malloc wrapping manually Change the calling behaviour of the "WUPS_APP_STATUS_CLOSED" hook. PPCExit does NOT get called when opening an application from the system menu. Add error output to the UDPLogger on failure.
16 lines
747 B
Makefile
16 lines
747 B
Makefile
ASFLAGS := -mregnames
|
|
|
|
# --relocatable: make sure ld doesn't remove relocations wups will need
|
|
# -s: strip local symbols to speed linking
|
|
# -u: keep certain sections
|
|
# -wrap: wrap function
|
|
# --gc-sections: remove unneeded symbols
|
|
# -T: use the linker script specified (to force certain wups sections together)
|
|
# -Map: generate a map file
|
|
|
|
LDFLAG_COMMON := -u wups_load -u wups_meta -u wups_hooks -T $(WUPSDIR)/wups.ld \
|
|
-Wl,-wrap,open,-wrap,close,-wrap,write,-wrap,read,-wrap,lseek,-wrap,stat,-wrap,fstat,-wrap,opendir,-wrap,closedir,-wrap,readdir,-wrap,mkdir \
|
|
-Wl,-Map,$(notdir $@).map,--gc-sections
|
|
|
|
LDFLAGS_MOD := -Wl,--relocatable
|
|
LDFLAGS_ELF := --relocatable -s -T $(WUPSDIR)/wups_elf.ld
|