From 51fc7aa80b9ebdb9371fba10606a50a4e2609b6f Mon Sep 17 00:00:00 2001 From: "lijie.byte" Date: Fri, 2 Aug 2024 18:16:49 +0800 Subject: [PATCH] aarch64 batch compile bugfix --- driver/build_script/aarch64/batch_compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/build_script/aarch64/batch_compile.sh b/driver/build_script/aarch64/batch_compile.sh index bea6658ac..df96610bf 100644 --- a/driver/build_script/aarch64/batch_compile.sh +++ b/driver/build_script/aarch64/batch_compile.sh @@ -1,6 +1,6 @@ #!/bin/bash -mkdir -p /ko_output rm -rf /ko_output || true +mkdir -p /ko_output BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}') KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}') UBUNTU_OR_DEBIAN_FLAG=$(cat /etc/*release | grep -iE "ubuntu|debian")