1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-12 11:21:55 +00:00

Add kernel in version

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-11-17 17:40:58 +01:00
parent f17a467548
commit 7ab0a6c1ab

View file

@ -517,6 +517,7 @@ if [ "$OMR_KERNEL" = "5.4" ]; then
if [ -f target/linux/mvebu/patches-5.4/022-arm64-dts-marvell-armada-37xx-Move-PCIe-max-link-spe.patch ]; then
rm -f target/linux/mvebu/patches-5.4/022-arm64-dts-marvell-armada-37xx-Move-PCIe-max-link-spe.patch
fi
echo "CONFIG_VERSION_CODE=5.4" >> ".config"
fi
if [ "$OMR_KERNEL" = "5.10" ]; then
echo "Set to kernel 5.10 for rpi arch"
@ -565,6 +566,7 @@ if [ "$OMR_KERNEL" = "5.14" ]; then
echo 'CONFIG_BINUTILS_VERSION_2_36_1=y' >> ".config"
echo 'CONFIG_BINUTILS_VERSION="2.36.1' >> ".config"
echo "CONFIG_BINUTILS_USE_VERSION_2_36_1=y" >> ".config"
echo "CONFIG_VERSION_CODE=5.14" >> ".config"
#echo "CONFIG_GCC_USE_VERSION_10=y" >> ".config"
if [ "$TARGET" = "bpi-r2" ]; then
echo "# CONFIG_VERSION_CODE_FILENAMES is not set" >> ".config"