perf tools: Streamline bpf examples and headers installation
[linux/fpc-iii.git] / arch / arm / boot / bootp / Makefile
blob83e1a076a5d64a095d558d214f541f9407e027fa
1 # SPDX-License-Identifier: GPL-2.0
3 # linux/arch/arm/boot/bootp/Makefile
5 # This file is included by the global makefile so that you can add your own
6 # architecture-specific flags and dependencies.
9 GCOV_PROFILE := n
11 LDFLAGS_bootp :=-p --no-undefined -X \
12 --defsym initrd_phys=$(INITRD_PHYS) \
13 --defsym params_phys=$(PARAMS_PHYS) -T
14 AFLAGS_initrd.o :=-DINITRD=\"$(INITRD)\"
16 targets := bootp init.o kernel.o initrd.o
18 # Note that bootp.lds picks up kernel.o and initrd.o
19 $(obj)/bootp: $(src)/bootp.lds $(addprefix $(obj)/,init.o kernel.o initrd.o) FORCE
20 $(call if_changed,ld)
22 # kernel.o and initrd.o includes a binary image using
23 # .incbin, a dependency which is not tracked automatically
25 $(obj)/kernel.o: arch/arm/boot/zImage FORCE
27 $(obj)/initrd.o: $(INITRD) FORCE
29 PHONY += $(INITRD)