PageRenderTime 41ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/arm/boot/bootp/Makefile

https://bitbucket.org/sammyz/iscream_thunderc-2.6.35-rebase
Makefile | 27 lines | 11 code | 7 blank | 9 comment | 0 complexity | b1f3434bf4fe37795c033b960286616d MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
  1. #
  2. # linux/arch/arm/boot/bootp/Makefile
  3. #
  4. # This file is included by the global makefile so that you can add your own
  5. # architecture-specific flags and dependencies.
  6. #
  7. LDFLAGS_bootp :=-p --no-undefined -X \
  8. --defsym initrd_phys=$(INITRD_PHYS) \
  9. --defsym params_phys=$(PARAMS_PHYS) -T
  10. AFLAGS_initrd.o :=-DINITRD=\"$(INITRD)\"
  11. targets := bootp init.o kernel.o initrd.o
  12. # Note that bootp.lds picks up kernel.o and initrd.o
  13. $(obj)/bootp: $(src)/bootp.lds $(addprefix $(obj)/,init.o kernel.o initrd.o) FORCE
  14. $(call if_changed,ld)
  15. @:
  16. # kernel.o and initrd.o includes a binary image using
  17. # .incbin, a dependency which is not tracked automatically
  18. $(obj)/kernel.o: arch/arm/boot/zImage FORCE
  19. $(obj)/initrd.o: $(INITRD) FORCE
  20. PHONY += $(INITRD) FORCE