Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm: 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: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

authored by

Michal Marek and committed by
Masahiro Yamada
152e6744 06995804

+4 -4
+4 -4
arch/arm/Makefile
··· 297 297 libs-y := arch/arm/lib/ $(libs-y) 298 298 299 299 # Default target when executing plain make 300 + boot := arch/arm/boot 300 301 ifeq ($(CONFIG_XIP_KERNEL),y) 301 - KBUILD_IMAGE := xipImage 302 + KBUILD_IMAGE := $(boot)/xipImage 302 303 else 303 - KBUILD_IMAGE := zImage 304 + KBUILD_IMAGE := $(boot)/zImage 304 305 endif 305 306 306 307 # Build the DT binary blobs if we have OF configured ··· 309 308 KBUILD_DTBS := dtbs 310 309 endif 311 310 312 - all: $(KBUILD_IMAGE) $(KBUILD_DTBS) 311 + all: $(notdir $(KBUILD_IMAGE)) $(KBUILD_DTBS) 313 312 314 - boot := arch/arm/boot 315 313 316 314 archheaders: 317 315 $(Q)$(MAKE) $(build)=arch/arm/tools uapi