From d4192abce12355f2e5ee89c30752497362d67637 Mon Sep 17 00:00:00 2001 From: Henry Wang Date: Mon, 21 Mar 2022 07:19:39 -0400 Subject: [PATCH] scripts: aarch64: Revert the "Reduce source code build" for linux Changes in commit "scripts: aarch64: Reduce source code build in CI" for the Linux kernel will lead to the kernel cannot be rebuilt if the config file is changed. Therefore should be reverted. Signed-off-by: Henry Wang --- scripts/run_integration_tests_aarch64.sh | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/scripts/run_integration_tests_aarch64.sh b/scripts/run_integration_tests_aarch64.sh index e4c3f2006..be745c84e 100755 --- a/scripts/run_integration_tests_aarch64.sh +++ b/scripts/run_integration_tests_aarch64.sh @@ -59,16 +59,13 @@ build_custom_linux() { checkout_repo "$LINUX_CUSTOM_DIR" "$LINUX_CUSTOM_URL" "$LINUX_CUSTOM_BRANCH" - if [ ! -f "$LINUX_CUSTOM_DIR/.built" ]; then - cp $SRCDIR/resources/linux-config-aarch64 $LINUX_CUSTOM_DIR/.config + cp $SRCDIR/resources/linux-config-aarch64 $LINUX_CUSTOM_DIR/.config - pushd $LINUX_CUSTOM_DIR - time make -j `nproc` - cp arch/arm64/boot/Image "$WORKLOADS_DIR/" || exit 1 - cp arch/arm64/boot/Image.gz "$WORKLOADS_DIR/" || exit 1 - touch .built - popd - fi + pushd $LINUX_CUSTOM_DIR + time make -j `nproc` + cp arch/arm64/boot/Image "$WORKLOADS_DIR/" || exit 1 + cp arch/arm64/boot/Image.gz "$WORKLOADS_DIR/" || exit 1 + popd } build_edk2() {