Makefile 630 B

123456789101112131415161718192021222324
  1. #
  2. # linux/arch/arm/boot/bootp/Makefile
  3. #
  4. LDFLAGS_bootp :=-p --no-undefined -X \
  5. --defsym initrd_phys=$(INITRD_PHYS) \
  6. --defsym params_phys=$(PARAMS_PHYS) -T
  7. AFLAGS_initrd.o :=-DINITRD=\"$(INITRD)\"
  8. targets := bootp init.o kernel.o initrd.o
  9. # Note that bootp.lds picks up kernel.o and initrd.o
  10. $(obj)/bootp: $(src)/bootp.lds $(addprefix $(obj)/,init.o kernel.o initrd.o) FORCE
  11. $(call if_changed,ld)
  12. @:
  13. # kernel.o and initrd.o includes a binary image using
  14. # .incbin, a dependency which is not tracked automatically
  15. $(obj)/kernel.o: arch/arm/boot/zImage FORCE
  16. $(obj)/initrd.o: $(INITRD) FORCE
  17. .PHONY: $(INITRD) FORCE