summaryrefslogtreecommitdiffstats
path: root/arch/unicore32
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.com>2016-11-22 22:34:33 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-03-20 22:42:21 +0900
commit41f5b8db796fdea5d5265798add260e66d44276b (patch)
tree36fda44bd0685ef0a26f90fe9213c3c00add59a3 /arch/unicore32
parente62c527efb07fa62a549cb03109a4d0265cedce2 (diff)
downloadlinux-41f5b8db796fdea5d5265798add260e66d44276b.tar.bz2
unicore32: Use full path in KBUILD_IMAGE definition
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>
Diffstat (limited to 'arch/unicore32')
-rw-r--r--arch/unicore32/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/unicore32/Makefile b/arch/unicore32/Makefile
index b6f5c4c1eaf9..98a5ca43ae87 100644
--- a/arch/unicore32/Makefile
+++ b/arch/unicore32/Makefile
@@ -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)/$@