Ver Fonte

fix rebuild issue for zimage target

Waldemar Brodkorb há 10 anos atrás
pai
commit
fb3bbedec6
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      mk/kernel-build.mk

+ 4 - 0
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