PageRenderTime 20ms CodeModel.GetById 15ms app.highlight 3ms RepoModel.GetById 0ms app.codeStats 0ms

/arch/arm/boot/bootp/Makefile

https://bitbucket.org/sammyz/iscream_thunderc-2.6.35-rebase
Makefile | 27 lines | 11 code | 7 blank | 9 comment | 0 complexity | b1f3434bf4fe37795c033b960286616d MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 1#
 2# linux/arch/arm/boot/bootp/Makefile
 3#
 4# This file is included by the global makefile so that you can add your own
 5# architecture-specific flags and dependencies.
 6#
 7
 8LDFLAGS_bootp	:=-p --no-undefined -X \
 9		 --defsym initrd_phys=$(INITRD_PHYS) \
10		 --defsym params_phys=$(PARAMS_PHYS) -T
11AFLAGS_initrd.o :=-DINITRD=\"$(INITRD)\"
12
13targets	:= bootp init.o kernel.o initrd.o
14
15# Note that bootp.lds picks up kernel.o and initrd.o
16$(obj)/bootp:	$(src)/bootp.lds $(addprefix $(obj)/,init.o kernel.o initrd.o) FORCE
17	$(call if_changed,ld)
18	@:
19
20# kernel.o and initrd.o includes a binary image using
21# .incbin, a dependency which is not tracked automatically
22
23$(obj)/kernel.o: arch/arm/boot/zImage FORCE
24
25$(obj)/initrd.o: $(INITRD) FORCE
26
27PHONY += $(INITRD) FORCE