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:
parent
f67fb0e6ed
commit
293de84e8a
1 changed files with 8 additions and 0 deletions
8
build.sh
8
build.sh
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue