Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # linux/arch/arm/boot/bootp/Makefile | |
3 | # | |
4f193362 PS |
4 | # This file is included by the global makefile so that you can add your own |
5 | # architecture-specific flags and dependencies. | |
6 | # | |
1da177e4 | 7 | |
75c34906 VS |
8 | GCOV_PROFILE := n |
9 | ||
1da177e4 LT |
10 | LDFLAGS_bootp :=-p --no-undefined -X \ |
11 | --defsym initrd_phys=$(INITRD_PHYS) \ | |
12 | --defsym params_phys=$(PARAMS_PHYS) -T | |
13 | AFLAGS_initrd.o :=-DINITRD=\"$(INITRD)\" | |
14 | ||
15 | targets := bootp init.o kernel.o initrd.o | |
16 | ||
17 | # Note that bootp.lds picks up kernel.o and initrd.o | |
18 | $(obj)/bootp: $(src)/bootp.lds $(addprefix $(obj)/,init.o kernel.o initrd.o) FORCE | |
19 | $(call if_changed,ld) | |
20 | @: | |
21 | ||
22 | # kernel.o and initrd.o includes a binary image using | |
23 | # .incbin, a dependency which is not tracked automatically | |
24 | ||
25 | $(obj)/kernel.o: arch/arm/boot/zImage FORCE | |
26 | ||
27 | $(obj)/initrd.o: $(INITRD) FORCE | |
28 | ||
4f193362 | 29 | PHONY += $(INITRD) FORCE |