1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Removed b53 fixup

This commit is contained in:
Olli 2021-03-05 23:09:04 +01:00
parent f67fb0e6ed
commit 293de84e8a

View file

@ -247,6 +247,14 @@ if [ "$OMR_TARGET" = "bpi-r1" ]; then
echo "CONFIG_${i}=y" >> "$OMR_TARGET/source/target/linux/sunxi/cortexa7/config-5.4"
done
echo "done"
else
# Remove swconfig parts
echo -n "Removing unneeded B53 swconfig parts from kernel 5.4..."
for i in SWCONFIG_B53_PHY_FIXUP SWCONFIG_B53_SPI_DRIVER SWCONFIG_B53_MMAP_DRIVER SWCONFIG_B53_SRAB_DRIVER; do
sed -i "s/CONFIG_${i}/# CONFIG_${i} is not set/" "$OMR_TARGET/source/target/linux/sunxi/config-5.4"
sed -i "s/CONFIG_${i}/# CONFIG_${i} is not set/" "$OMR_TARGET/source/target/linux/sunxi/cortexa7/config-5.4"
done
echo "done"
fi
# Add led support