All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] arm64: Use full path in KBUILD_IMAGE definition
@ 2016-11-22 21:34 ` Michal Marek
  0 siblings, 0 replies; 36+ messages in thread
From: Michal Marek @ 2016-11-22 21:34 UTC (permalink / raw)
  To: linux-kbuild; +Cc: linux-kernel, Catalin Marinas, Will Deacon, linux-arm-kernel

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: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Michal Marek <mmarek@suse.com>
---
 arch/arm64/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index 3635b8662724..80b6866bcacb 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -94,12 +94,12 @@ libs-y		:= arch/arm64/lib/ $(libs-y)
 core-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a
 
 # Default target when executing plain make
-KBUILD_IMAGE	:= Image.gz
+boot		:= arch/arm64/boot
+KBUILD_IMAGE	:= $(boot)/Image.gz
 KBUILD_DTBS	:= dtbs
 
-all:	$(KBUILD_IMAGE) $(KBUILD_DTBS)
+all:	Image.gz $(KBUILD_DTBS)
 
-boot := arch/arm64/boot
 
 Image: vmlinux
 	$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
-- 
2.10.0

^ permalink raw reply related	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2017-03-20 13:59 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-22 21:34 [PATCH 1/6] arm64: Use full path in KBUILD_IMAGE definition Michal Marek
2016-11-22 21:34 ` Michal Marek
2016-11-22 21:34 ` [PATCH 2/6] arm: " Michal Marek
2016-11-22 21:34   ` Michal Marek
2017-03-20 13:53   ` Masahiro Yamada
2017-03-20 13:53     ` Masahiro Yamada
2016-11-22 21:34 ` [PATCH 3/6] arc: " Michal Marek
2016-11-22 21:34   ` Michal Marek
2016-11-23 19:40   ` Alexey Brodkin
2016-11-23 19:40     ` Alexey Brodkin
2016-11-23 19:40     ` Alexey Brodkin
2016-11-25 14:21     ` Michal Marek
2016-11-25 14:21       ` Michal Marek
2016-11-25 14:21       ` Michal Marek
2017-03-20 13:54   ` Masahiro Yamada
2017-03-20 13:54     ` Masahiro Yamada
2016-11-22 21:34 ` [PATCH 4/6] sh: " Michal Marek
2016-11-22 21:34   ` Michal Marek
2017-03-20 13:54   ` Masahiro Yamada
2017-03-20 13:54     ` Masahiro Yamada
2016-11-22 21:34 ` [PATCH 5/6] unicore32: " Michal Marek
2017-03-20 13:55   ` Masahiro Yamada
2016-11-22 21:34 ` [PATCH 6/6] deb-pkg: Remove the KBUILD_IMAGE workaround Michal Marek
2016-11-25 12:12   ` Riku Voipio
2016-11-25 14:22     ` Michal Marek
2017-03-20 13:56       ` Masahiro Yamada
2017-03-10 17:58 ` [PATCH 1/6] arm64: Use full path in KBUILD_IMAGE definition Will Deacon
2017-03-10 17:58   ` Will Deacon
2017-03-10 21:20   ` Michal Marek
2017-03-10 21:20     ` Michal Marek
2017-03-18 13:14     ` Masahiro Yamada
2017-03-18 13:14       ` Masahiro Yamada
2017-03-20 12:13       ` Will Deacon
2017-03-20 12:13         ` Will Deacon
2017-03-20 13:52         ` Masahiro Yamada
2017-03-20 13:52           ` Masahiro Yamada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.