From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:20:52 +0000 Subject: [PATCH] add new system file --- kernel/scripts/xz_wrap.sh | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/kernel/scripts/xz_wrap.sh b/kernel/scripts/xz_wrap.sh index 7a2d372..3824fdf 100755 --- a/kernel/scripts/xz_wrap.sh +++ b/kernel/scripts/xz_wrap.sh @@ -9,6 +9,8 @@ # You can do whatever you want with this file. # +. include/config/auto.conf + BCJ= LZMA2OPTS= @@ -20,4 +22,8 @@ sparc) BCJ=--sparc ;; esac -exec xz --check=crc32 $BCJ --lzma2=$LZMA2OPTS,dict=32MiB +if [ -n "${CONFIG_THUMB2_KERNEL}" ]; then + BCJ=--armthumb +fi + +exec $XZ --check=crc32 $BCJ --lzma2=$LZMA2OPTS,dict=32MiB -- Gitblit v1.6.2