mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-30 20:27:22 +00:00
Allow for prevention of psp-fixup-imports.
- means export only modules can be built by adding NO_FIXUP_IMPORTS=1
This commit is contained in:
@@ -167,9 +167,14 @@ SCEkxploit: $(TARGET).elf $(PSP_EBOOT_SFO)
|
||||
$(PSP_EBOOT_ICON1) $(PSP_EBOOT_UNKPNG) $(PSP_EBOOT_PIC1) \
|
||||
$(PSP_EBOOT_SND0) NULL $(PSP_EBOOT_PSAR)
|
||||
|
||||
ifeq ($(NO_FIXUP_IMPORTS), 1)
|
||||
$(TARGET).elf: $(OBJS) $(EXPORT_OBJ)
|
||||
$(LINK.c) $^ $(LIBS) -o $@
|
||||
else
|
||||
$(TARGET).elf: $(OBJS) $(EXPORT_OBJ)
|
||||
$(LINK.c) $^ $(LIBS) -o $@
|
||||
$(FIXUP) $@
|
||||
endif
|
||||
|
||||
$(TARGET_LIB): $(OBJS)
|
||||
$(AR) cru $@ $(OBJS)
|
||||
|
||||
Reference in New Issue
Block a user