mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Remove dwarves directory before using fixed package
This commit is contained in:
parent
79769dacbe
commit
e030084af2
1 changed files with 4 additions and 0 deletions
4
build.sh
4
build.sh
|
@ -192,6 +192,10 @@ rm -rf "${OMR_TARGET}/${OMR_KERNEL}/source/package/boot/uboot-mvebu"
|
||||||
rm -rf "${OMR_TARGET}/${OMR_KERNEL}/source/package/libs/mbedtls"
|
rm -rf "${OMR_TARGET}/${OMR_KERNEL}/source/package/libs/mbedtls"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Remove current dwarves directory to replace with fixed package
|
||||||
|
rm -rf "${OMR_TARGET}/${OMR_KERNEL}/source/tools/dwarves"
|
||||||
|
|
||||||
|
|
||||||
[ "${OMR_KERNEL}" = "5.4" ] && rm -rf "$OMR_TARGET/${OMR_KERNEL}/source/tools/firmware-utils"
|
[ "${OMR_KERNEL}" = "5.4" ] && rm -rf "$OMR_TARGET/${OMR_KERNEL}/source/tools/firmware-utils"
|
||||||
if ([ "$OMR_TARGET" = "rutx" ] || [ "$OMR_TARGET" = "rutx12" ]) && [ "${OMR_KERNEL}" = "5.4" ]; then
|
if ([ "$OMR_TARGET" = "rutx" ] || [ "$OMR_TARGET" = "rutx12" ]) && [ "${OMR_KERNEL}" = "5.4" ]; then
|
||||||
# cp -rf root/* "$OMR_TARGET/${OMR_KERNEL}/source"
|
# cp -rf root/* "$OMR_TARGET/${OMR_KERNEL}/source"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue