summaryrefslogtreecommitdiff
path: root/mk/kernel-build.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-11 21:13:31 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-11 21:13:31 +0100
commitfb3bbedec66625612440422f12db1a0cad29be3c (patch)
treef8c9ad82dfd11106fb28adc7d0b355b8fd7ed0bf /mk/kernel-build.mk
parent92b2a22d101f2be55d26ee1390ce798d998eb6c3 (diff)
fix rebuild issue for zimage target
Diffstat (limited to 'mk/kernel-build.mk')
-rw-r--r--mk/kernel-build.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/kernel-build.mk b/mk/kernel-build.mk
index 94749de5a..3f055e255 100644
--- a/mk/kernel-build.mk
+++ b/mk/kernel-build.mk
@@ -7,6 +7,10 @@ include ${TOPDIR}/mk/kernel-vars.mk
KERNEL_FILE:=$(ADK_TARGET_KERNEL)
KERNEL_TARGET:=$(ADK_TARGET_KERNEL)
+ifeq ($(ADK_TARGET_KERNEL_ZIMAGE),y)
+KERNEL_FILE:=vmlinux
+KERNEL_TARGET:=$(ADK_TARGET_KERNEL)
+endif
ifeq ($(ADK_TARGET_KERNEL_BZIMAGE),y)
KERNEL_FILE:=vmlinux
KERNEL_TARGET:=all