summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/image.mk2
-rw-r--r--mk/kernel-build.mk4
2 files changed, 5 insertions, 1 deletions
diff --git a/mk/image.mk b/mk/image.mk
index f17f26c12..1a080557a 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -98,7 +98,7 @@ ifneq ($(ADK_TARGET_ARCH_AARCH64)$(ADK_TARGET_ARCH_X86_64)$(ADK_TARGET_ARCH_PPC6
test ! -d ${TARGET_DIR}/usr/lib || rm -rf ${TARGET_DIR}/usr/lib/
(cd ${TARGET_DIR}/usr ; ln -sf ${ADK_TARGET_LIBC_PATH} lib)
endif
-ifeq ($(ADK_TARGET_ARCH_S390),y)
+ifeq ($(ADK_TARGET_ARCH_LOONGARCH)$(ADK_TARGET_ARCH_S390),y)
(cd ${TARGET_DIR}/; ln -sf lib lib64)
endif
diff --git a/mk/kernel-build.mk b/mk/kernel-build.mk
index bae7ab168..ca77b2f76 100644
--- a/mk/kernel-build.mk
+++ b/mk/kernel-build.mk
@@ -27,6 +27,10 @@ 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
+KERNEL_TARGET:=all
+endif
ifeq ($(ADK_TARGET_KERNEL_VMLINUX_GZ),y)
KERNEL_FILE:=vmlinux
KERNEL_TARGET:=all