Skip to content

Commit

Permalink
unicore32: Use full path in KBUILD_IMAGE definition
Browse files Browse the repository at this point in the history
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: Guan Xuetao <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
Michal Marek authored and masahir0y committed Mar 20, 2017
1 parent e62c527 commit 41f5b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/unicore32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ boot := arch/unicore32/boot

# Default defconfig and target when executing plain make
KBUILD_DEFCONFIG := $(ARCH)_defconfig
KBUILD_IMAGE := zImage
KBUILD_IMAGE := $(boot)/zImage

all: $(KBUILD_IMAGE)
all: zImage

zImage Image uImage: vmlinux
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
Expand Down

0 comments on commit 41f5b8d

Please sign in to comment.