summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-08-19 13:14:58 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2022-08-19 13:14:58 +0200
commit1a426f42fe36d9f5d65182bb327e8b029f710e89 (patch)
tree6ead33a2d4c1bd9f4cbc0f24645d57dc358a9157 /mk
parentcf30d2922270a47c9e0336611477befcf8fa4239 (diff)
loongarch: use special linux version, boots up now
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