1# 2# linux/arch/arm/boot/bootp/Makefile 3# 4 5LDFLAGS_bootp :=-p --no-undefined -X \ 6 --defsym initrd_phys=$(INITRD_PHYS) \ 7 --defsym params_phys=$(PARAMS_PHYS) -T 8AFLAGS_initrd.o :=-DINITRD=\"$(INITRD)\" 9 10targets := bootp init.o kernel.o initrd.o 11 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 17# kernel.o and initrd.o includes a binary image using 18# .incbin, a dependency which is not tracked automatically 19 20$(obj)/kernel.o: arch/arm/boot/zImage FORCE 21 22$(obj)/initrd.o: $(INITRD) FORCE 23 24.PHONY: $(INITRD) FORCE 25