aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.com>2016-11-22 16:34:29 -0500
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-03-20 09:42:12 -0400
commit06995804b5762f016c7a80503406da853a8f3785 (patch)
tree81bd56281257804509e67455e7a9f9fd28aa3790
parent65ba6fa439e7c3cbf97de9dce9e7a3390ae2638c (diff)
arm64: 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: Catalin Marinas <catalin.marinas@arm.com> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Michal Marek <mmarek@suse.com> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--arch/arm64/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index b9a4a934ca05..adf977fd39f1 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -100,12 +100,12 @@ libs-y := arch/arm64/lib/ $(libs-y)
100core-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a 100core-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a
101 101
102# Default target when executing plain make 102# Default target when executing plain make
103KBUILD_IMAGE := Image.gz 103boot := arch/arm64/boot
104KBUILD_IMAGE := $(boot)/Image.gz
104KBUILD_DTBS := dtbs 105KBUILD_DTBS := dtbs
105 106
106all: $(KBUILD_IMAGE) $(KBUILD_DTBS) 107all: Image.gz $(KBUILD_DTBS)
107 108
108boot := arch/arm64/boot
109 109
110Image: vmlinux 110Image: vmlinux
111 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 111 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@