]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
unicore32: Use full path in KBUILD_IMAGE definition
authorMichal Marek <mmarek@suse.com>
Tue, 22 Nov 2016 21:34:33 +0000 (22:34 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 20 Mar 2017 13:42:21 +0000 (22:42 +0900)
The KBUILD_IMAGE variable is used by the rpm and deb-pkg targets, which
expect it to point to the image file in the build directory. The
builddeb script has a workaround for architectures which only provide
the basename, but let's provide a clean interface for packaging tools.

Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/unicore32/Makefile

index b6f5c4c1eaf95d1fe79f14771e81a674dc49a45d..98a5ca43ae87001c67b2b3e38304afb371831f2f 100644 (file)
@@ -43,9 +43,9 @@ boot                  := arch/unicore32/boot
 
 # Default defconfig and target when executing plain make
 KBUILD_DEFCONFIG       := $(ARCH)_defconfig
-KBUILD_IMAGE           := zImage
+KBUILD_IMAGE           := $(boot)/zImage
 
-all:   $(KBUILD_IMAGE)
+all:   zImage
 
 zImage Image uImage: vmlinux
        $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@