Back to home page

LXR

 
 

    


0001 #
0002 # linux/arch/arm/boot/bootp/Makefile
0003 #
0004 # This file is included by the global makefile so that you can add your own
0005 # architecture-specific flags and dependencies.
0006 #
0007 
0008 GCOV_PROFILE    := n
0009 
0010 LDFLAGS_bootp   :=-p --no-undefined -X \
0011                  --defsym initrd_phys=$(INITRD_PHYS) \
0012                  --defsym params_phys=$(PARAMS_PHYS) -T
0013 AFLAGS_initrd.o :=-DINITRD=\"$(INITRD)\"
0014 
0015 targets := bootp init.o kernel.o initrd.o
0016 
0017 # Note that bootp.lds picks up kernel.o and initrd.o
0018 $(obj)/bootp:   $(src)/bootp.lds $(addprefix $(obj)/,init.o kernel.o initrd.o) FORCE
0019         $(call if_changed,ld)
0020 
0021 # kernel.o and initrd.o includes a binary image using
0022 # .incbin, a dependency which is not tracked automatically
0023 
0024 $(obj)/kernel.o: arch/arm/boot/zImage FORCE
0025 
0026 $(obj)/initrd.o: $(INITRD) FORCE
0027 
0028 PHONY += $(INITRD)