X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=arch%2Fxtensa%2Fboot%2Fboot-elf%2FMakefile;fp=arch%2Fxtensa%2Fboot%2Fboot-elf%2FMakefile;h=ceae02cd5b3ba8cb606bb8406f9f4ca889ca6ddc;hp=12ae1e91cb75fbcb729491fef73ec0a4736a7fee;hb=65898b375659f2556da9ac22ea5649407f6f6447;hpb=10b60595ddd53728e6975e50524841bb8c0339a8 diff --git a/arch/xtensa/boot/boot-elf/Makefile b/arch/xtensa/boot/boot-elf/Makefile index 12ae1e91cb75..ceae02cd5b3b 100644 --- a/arch/xtensa/boot/boot-elf/Makefile +++ b/arch/xtensa/boot/boot-elf/Makefile @@ -18,9 +18,9 @@ boot-y := bootstrap.o OBJS := $(addprefix $(obj)/,$(boot-y)) -$(obj)/Image.o: vmlinux.bin $(OBJS) +$(obj)/Image.o: $(obj)/../vmlinux.bin $(OBJS) $(Q)$(OBJCOPY) $(OBJCOPY_ARGS) -R .comment \ - --add-section image=vmlinux.bin \ + --add-section image=$< \ --set-section-flags image=contents,alloc,load,load,data \ $(OBJS) $@