summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-08-11 11:42:32 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2022-08-11 11:42:32 +0200
commitcf30d2922270a47c9e0336611477befcf8fa4239 (patch)
tree161a867e57a7962f28fe98fa4087d47d21cded9c /mk
parent8d2b0f40a83c1e0544ab192a4236bf511d6ab506 (diff)
add basic loongarch support, qemu does not boot the kernel, yet
Diffstat (limited to 'mk')
-rw-r--r--mk/image.mk1
-rw-r--r--mk/linux-ver.mk6
2 files changed, 7 insertions, 0 deletions
diff --git a/mk/image.mk b/mk/image.mk
index bc1fe5223..f17f26c12 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -229,6 +229,7 @@ createinitramfs: ${STAGING_TARGET_DIR}/${INITRAMFS}_list
echo 'CONFIG_INITRAMFS_ROOT_UID=0'; \
echo 'CONFIG_INITRAMFS_ROOT_GID=0'; \
echo 'CONFIG_INITRAMFS_IS_LARGE=n'; \
+ echo 'CONFIG_INITRAMFS_PRESERVE_MTIME=n'; \
) >> ${LINUX_DIR}/.config
ifeq ($(ADK_LINUX_KERNEL_COMP_XZ),y)
echo "CONFIG_RD_BZIP2=n" >> ${LINUX_DIR}/.config
diff --git a/mk/linux-ver.mk b/mk/linux-ver.mk
index 52648efe3..6126798f9 100644
--- a/mk/linux-ver.mk
+++ b/mk/linux-ver.mk
@@ -15,6 +15,12 @@ KERNEL_FILE_VER:= $(ADK_TARGET_LINUX_KERNEL_GIT)
KERNEL_RELEASE:= 1
KERNEL_VERSION:= $(ADK_TARGET_LINUX_KERNEL_GIT_VER)-$(KERNEL_RELEASE)
endif
+ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_5_19),y)
+KERNEL_FILE_VER:= 5.19
+KERNEL_RELEASE:= 1
+KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
+KERNEL_HASH:= ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8
+endif
ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_5_15),y)
KERNEL_FILE_VER:= 5.15.23
KERNEL_RELEASE:= 1