summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.com>2016-11-22 22:34:31 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-03-20 22:42:20 +0900
commit5e40f0fd234f36564881b03d28deaa69653ae9f2 (patch)
treeb00b81547209b58fbeb121c95f71527b3ddb4ee4 /arch/arc
parent152e6744ebfc8fa6cc9fff4ba36271f5f1ba2821 (diff)
downloadlinux-5e40f0fd234f36564881b03d28deaa69653ae9f2.tar.gz
linux-5e40f0fd234f36564881b03d28deaa69653ae9f2.tar.bz2
linux-5e40f0fd234f36564881b03d28deaa69653ae9f2.zip
arc: 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: Vineet Gupta <vgupta@synopsys.com> Cc: linux-snps-arc@lists.infradead.org Signed-off-by: Michal Marek <mmarek@suse.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index 19cce226d1a8..44ef35d33956 100644
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -123,9 +123,9 @@ libs-y += arch/arc/lib/ $(LIBGCC)
boot := arch/arc/boot
#default target for make without any arguments.
-KBUILD_IMAGE := bootpImage
+KBUILD_IMAGE := $(boot)/bootpImage
-all: $(KBUILD_IMAGE)
+all: bootpImage
bootpImage: vmlinux
boot_targets += uImage uImage.bin uImage.gz