xtensa: move vmlinux.bin[.gz] to boot subdirectory
[sfrench/cifs-2.6.git] / arch / xtensa / boot / boot-elf / Makefile
index 12ae1e91cb75fbcb729491fef73ec0a4736a7fee..ceae02cd5b3ba8cb606bb8406f9f4ca889ca6ddc 100644 (file)
@@ -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) $@