mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Prepare support Banana Pi R2
This commit is contained in:
parent
fb4a368c84
commit
1e73f37fde
7 changed files with 252303 additions and 0 deletions
3
build.sh
3
build.sh
|
@ -42,6 +42,8 @@ if [ "$OMR_TARGET" = "rpi3" ]; then
|
|||
OMR_REAL_TARGET="aarch64_cortex-a53"
|
||||
elif [ "$OMR_TARGET" = "rpi2" ]; then
|
||||
OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4"
|
||||
elif [ "$OMR_TARGET" = "bpi-r2" ]; then
|
||||
OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4"
|
||||
else
|
||||
OMR_REAL_TARGET=${OMR_TARGET}
|
||||
fi
|
||||
|
@ -67,6 +69,7 @@ if [ "$OMR_KEEPBIN" = "no" ]; then
|
|||
rm -rf "$OMR_TARGET/source/bin"
|
||||
fi
|
||||
rm -rf "$OMR_TARGET/source/files" "$OMR_TARGET/source/tmp"
|
||||
rm -rf "$OMR_TARGET/source/target/linux/mediatek/patches-4.14"
|
||||
cp -rf root/* "$OMR_TARGET/source"
|
||||
|
||||
cat >> "$OMR_TARGET/source/package/base-files/files/etc/banner" <<EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue