diff --git a/ci/gitlab-ci/ci-scripts/build-kernel.sh b/ci/gitlab-ci/ci-scripts/build-kernel.sh index 878f10897dc195a7679ad6e68db40d3e0233a074..df410c20912e908a2c935bd1e16f35dede747d26 100755 --- a/ci/gitlab-ci/ci-scripts/build-kernel.sh +++ b/ci/gitlab-ci/ci-scripts/build-kernel.sh @@ -9,21 +9,9 @@ source ci/gitlab-ci/ci-scripts/ici-functions.sh ici_prepare_build -ici_get_patch_series_size - -# Get the list of modified files in the last $ICI_PATCH_SERIES_SIZE commits -MODIFIED_FILES=$(git diff HEAD~$ICI_PATCH_SERIES_SIZE HEAD --name-only) - pushd build # compile the entire kernel -make CF=-D__CHECK_ENDIAN__ -C "$ICI_KERNEL_DIR" O=$(pwd) -j$(nproc) - -for file in $MODIFIED_FILES; do - touch -c ../"$file" -done - -# TODO: add W=1 once build errors are fixed make CF=-D__CHECK_ENDIAN__ -C "$ICI_KERNEL_DIR" O=$(pwd) -j$(nproc) 2>&1 | tee output.txt export INSTALL_PATH="${CI_PROJECT_DIR}/artifacts/kernel-install-${KCI_KERNEL_ARCH}-${KCI_DEFCONFIG}_config" @@ -44,9 +32,3 @@ if grep -iq "warning" output.txt; then fi popd - -if [ -n "$ICI_UNABLE_TO_DETECT_PATCH_SERIES_SIZE" ]; then - # If the patch series size was not detected, exit with a warning - echo "The patch series size was not detected, we probably didn't check the whole series. Exiting with a warning." - exit 101 -fi \ No newline at end of file