diff options
Diffstat (limited to 'arch/arm/boot/bootp/Makefile')
-rw-r--r-- | arch/arm/boot/bootp/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/bootp/Makefile b/arch/arm/boot/bootp/Makefile new file mode 100644 index 000000000000..8e8879b6b3d7 --- /dev/null +++ b/arch/arm/boot/bootp/Makefile | |||
@@ -0,0 +1,24 @@ | |||
1 | # | ||
2 | # linux/arch/arm/boot/bootp/Makefile | ||
3 | # | ||
4 | |||
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)\" | ||
9 | |||
10 | targets := 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 | ||