summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-11-28 01:46:12 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-11-28 08:27:09 +0100
commit6794a3dd815affd9a5e9610323164c464b93fad2 (patch)
treee766f6cdfe932f4414b44d5bc692e76bb7ddbf63
parentc99122bbcbf248b813cfe6d868aee321cc2249db (diff)
mk/kernel-build.mk: Drop redundant assignments
If ADK_TARGET_KERNEL_VMLINUX_BOOTP==y, ADK_TARGET_KERNEL=bootpfile hence no need for the clause. Also, KERNEL_TARGET defaults to $(ADK_TARGET_KERNEL) already. Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r--mk/kernel-build.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/mk/kernel-build.mk b/mk/kernel-build.mk
index 1e19a593c..efbc843da 100644
--- a/mk/kernel-build.mk
+++ b/mk/kernel-build.mk
@@ -17,15 +17,9 @@ KERNEL_FILE:=$(ADK_TARGET_KERNEL)
KERNEL_TARGET:=$(ADK_TARGET_KERNEL)
ifeq ($(ADK_TARGET_KERNEL_LINUXBIN),y)
KERNEL_FILE:=vmlinux
-KERNEL_TARGET:=$(ADK_TARGET_KERNEL)
endif
ifeq ($(ADK_TARGET_KERNEL_ZIMAGE),y)
KERNEL_FILE:=vmlinux
-KERNEL_TARGET:=$(ADK_TARGET_KERNEL)
-endif
-ifeq ($(ADK_TARGET_KERNEL_VMLINUX_BOOTP),y)
-KERNEL_FILE:=bootpfile
-KERNEL_TARGET:=bootpfile
endif
ifeq ($(ADK_TARGET_KERNEL_VMLINUX_EFI),y)
KERNEL_FILE:=vmlinux.efi
@@ -41,7 +35,6 @@ KERNEL_TARGET:=all
endif
ifeq ($(ADK_TARGET_KERNEL_IMAGE),y)
KERNEL_FILE:=vmlinux
-KERNEL_TARGET:=$(ADK_TARGET_KERNEL)
endif
ifeq ($(ADK_TARGET_KERNEL_SIMPLEIMAGE),y)
KERNEL_FILE:=vmlinux.bin