Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 #
0003 # linux/arch/arm/boot/bootp/Makefile
0004 #
0005 # This file is included by the global makefile so that you can add your own
0006 # architecture-specific flags and dependencies.
0007 #
0008 
0009 GCOV_PROFILE    := n
0010 
0011 LDFLAGS_bootp   := --no-undefined -X \
0012                  --defsym initrd_phys=$(INITRD_PHYS) \
0013                  --defsym params_phys=$(PARAMS_PHYS) -T
0014 AFLAGS_initrd.o :=-DINITRD=\"$(INITRD)\"
0015 
0016 targets := bootp init.o kernel.o initrd.o
0017 
0018 # Note that bootp.lds picks up kernel.o and initrd.o
0019 $(obj)/bootp:   $(src)/bootp.lds $(addprefix $(obj)/,init.o kernel.o initrd.o) FORCE
0020         $(call if_changed,ld)
0021 
0022 # kernel.o and initrd.o includes a binary image using
0023 # .incbin, a dependency which is not tracked automatically
0024 
0025 $(obj)/kernel.o: arch/arm/boot/zImage FORCE
0026 
0027 $(obj)/initrd.o: $(INITRD) FORCE
0028 
0029 PHONY += $(INITRD)