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