Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1527949

[PATCH 3/6] arc: Use full path in KBUILD_IMAGE definition

From Michal Marek <mmarek@suse.com>
Newsgroups linux.kernel
Subject [PATCH 3/6] arc: Use full path in KBUILD_IMAGE definition
Date 2016-11-22 22:40 +0100
Message-ID <sGqXg-4ft-9@gated-at.bofh.it> (permalink)
References <sGqXf-4ft-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 arch/arc/Makefile | 4 ++--
 1 file 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
-- 
2.10.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 3/6] arc: Use full path in KBUILD_IMAGE definition Michal Marek <mmarek@suse.com> - 2016-11-22 22:40 +0100
  Re: [PATCH 3/6] arc: Use full path in KBUILD_IMAGE definition Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2016-11-23 20:50 +0100

csiph-web