mirror of
https://github.com/wiiu-env/PayloadFromRPX.git
synced 2024-11-23 22:19:16 +01:00
Fix building with -jX
This commit is contained in:
parent
79c42a3b59
commit
edd609024f
2
Makefile
2
Makefile
@ -103,11 +103,9 @@ $(BUILD): $(CURDIR)/source/ios_kernel/ios_kernel.bin.h
|
||||
@$(MAKE) -j1 --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
|
||||
|
||||
$(CURDIR)/source/ios_kernel/ios_kernel.bin.h: $(CURDIR)/source/ios_usb/ios_usb.bin.h
|
||||
@$(MAKE) --no-print-directory -C $(CURDIR)/source/ios_kernel -f $(CURDIR)/source/ios_kernel/Makefile
|
||||
@$(MAKE) -j1 --no-print-directory -C $(CURDIR)/source/ios_kernel -f $(CURDIR)/source/ios_kernel/Makefile
|
||||
|
||||
$(CURDIR)/source/ios_usb/ios_usb.bin.h:
|
||||
@$(MAKE) --no-print-directory -C $(CURDIR)/source/ios_usb -f $(CURDIR)/source/ios_usb/Makefile
|
||||
@$(MAKE) -j1 --no-print-directory -C $(CURDIR)/source/ios_usb -f $(CURDIR)/source/ios_usb/Makefile
|
||||
#-------------------------------------------------------------------------------
|
||||
clean:
|
||||
|
@ -56,7 +56,6 @@ $(PROJECTNAME).bin: $(PROJECTNAME).elf
|
||||
@$(OBJCOPY) -j .text -j .rodata -j .data -O binary $(PROJECTNAME).elf $@
|
||||
|
||||
$(PROJECTNAME).bin.h: $(PROJECTNAME).bin
|
||||
@xxd -i $< | sed "s/unsigned/static const unsigned/g;s/$(PROJECTNAME)$*/$(PROJECTNAME)/g" > $@
|
||||
@raw2c $<
|
||||
@cp $(PROJECTNAME).c $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user