mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-14 12:21:53 +00:00
Add real target for rpi2
This commit is contained in:
parent
203b822d15
commit
54462aa6b2
1 changed files with 3 additions and 1 deletions
4
build.sh
4
build.sh
|
@ -34,6 +34,8 @@ fi
|
|||
|
||||
if [ "$OMR_TARGET" = "rpi3" ]; then
|
||||
OMR_REAL_TARGET="aarch64_cortex-a53"
|
||||
elif [ "$OMR_TARGET" = "rpi2" ]; then
|
||||
OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4"
|
||||
else
|
||||
OMR_REAL_TARGET=${OMR_TARGET}
|
||||
fi
|
||||
|
@ -137,7 +139,7 @@ echo "Done"
|
|||
#echo "Set to kernel 4.9 for all arch"
|
||||
#find target/linux/ -type f -name Makefile -exec sed -i 's%KERNEL_PATCHVER:=4.14%KERNEL_PATCHVER:=4.9%g' {} \;
|
||||
#echo "Done"
|
||||
echo "Set to kernel 4.14 for rpi3 arch"
|
||||
echo "Set to kernel 4.14 for rpi arch"
|
||||
find target/linux/brcm2708 -type f -name Makefile -exec sed -i 's%KERNEL_PATCHVER:=4.9%KERNEL_PATCHVER:=4.14%g' {} \;
|
||||
echo "Done"
|
||||
|
||||
|
|
Loading…
Reference in a new issue