This commit is contained in:
John Doe 2023-08-07 16:00:17 +08:00
parent 60d3dee452
commit dbf8f94022
No known key found for this signature in database
GPG Key ID: 30F190E0C359CB4F

View File

@ -70,7 +70,6 @@ if [[ $BRANCH == 'master' ]]; then
echo -e "\toption minfreq0 '816000'" >> $config_file_cpufreq
echo -e "\toption maxfreq0 '1512000'\n" >> $config_file_cpufreq
sed -i 's/5.10/5.4/g' target/linux/rockchip/Makefile
line_number_CONFIG_CRYPTO_LIB_BLAKE2S=$[`grep -n 'CONFIG_CRYPTO_LIB_BLAKE2S' package/kernel/linux/modules/crypto.mk | cut -d: -f 1`+1]
sed -i $line_number_CONFIG_CRYPTO_LIB_BLAKE2S' s/HIDDEN:=1/DEPENDS:=@(LINUX_5_4||LINUX_5_10)/' package/kernel/linux/modules/crypto.mk
sed -i 's/libblake2s.ko@lt5.9/libblake2s.ko/;s/libblake2s-generic.ko@lt5.9/libblake2s-generic.ko/' package/kernel/linux/modules/crypto.mk
@ -116,6 +115,8 @@ if [[ $DEVICE == 'r1s' ]]; then
merge_package https://github.com/immortalwrt/immortalwrt/branches/openwrt-18.06-k5.4/package/emortal/autocore
sed -i '/luci/d' $GITHUB_WORKSPACE/extra_packages.seed
sed -i 's/5.10/5.4/g' target/linux/sunxi/Makefile
fi
# fix for r1s-h3