#
# linux/arch/arm/boot/boots/Makefile
#

LDFLAGS_boots	:=-p --no-undefined -X \
		 --defsym params_phys=$(PARAMS_PHYS) \
		 -T

targets	:= boots init.o kernel.o

# Note that boots.lds picks up kernel.o
$(obj)/boots:	$(src)/boots.lds $(addprefix $(obj)/,init.o kernel.o) FORCE
	$(call if_changed,ld)
	@:

# kernel.o includes a binary image using
# .incbin, a dependency which is not tracked automatically

$(obj)/kernel.o: arch/arm/boot/zImage FORCE

