Commit 3c51242d authored by T-vK's avatar T-vK

changes

parent 376b0dca
Pipeline #17589352 failed with stage
in 43 minutes and 59 seconds
image: tavk/raspi-rt-kernel-build-env:1.18
image: tavk/raspi-rt-kernel-build-env:1.19
#before_script:
#- apt-get -qq update --yes
......@@ -32,11 +32,13 @@ build:
#- make bcm2709_defconfig
#- make bcmrpi_defconfig
- cp /rpi23b-rt.config /linux/.config
- make -j2 zImage
- make -j2 modules
- make -j2 dtbs
- make -j2 modules_install
- /linux/scripts/mkknlimg /linux/arch/arm/boot/zImage $INSTALL_MOD_PATH/boot/$KERNEL.img
#- /linux/scripts/mkknlimg /linux/arch/arm/boot/zImage $INSTALL_MOD_PATH/boot/$KERNEL.img
- cp /linux/arch/arm/boot/zImage $INSTALL_MOD_PATH/boot/$KERNEL.img
- cp /linux/arch/arm/boot/dts/*.dtb $INSTALL_MOD_PATH/boot/
- cp -r /linux/arch/arm/boot/dts/overlays $INSTALL_MOD_PATH/boot
artifacts:
......
......@@ -12,5 +12,5 @@ ENV ARCH=arm \
INSTALL_MOD_PATH=/rtkernel \
KERNEL=kernel7
COPY rpi23b-rt.config rpi23b-rt.config /
COPY get-rpi-rt-match.sh get-rpi-rt-match.sh /
COPY rpi23b-rt.config rpi23b-rt.config /
......@@ -39,13 +39,14 @@ for rtVersion in "${rtVersionsSorted[@]}"; do
export COMMIT_HASH=$commitHash
export RT_PATCH_URL="https://www.kernel.org/pub/linux/kernel/projects/rt/$rtVersion/older/$rtFullVersion"
export KERNEL_VERSION=$fullVersionOnly
export KERNEL_XX_VERSION=$rtVersion
break 2 # success
fi
done
done
if [ -z "$COMMIT_HASH" ]; then
exit 1
elif [ -z "$RT_PATCH_URL" ]; then
exit 1
fi
\ No newline at end of file
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment