1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-12 11:21:55 +00:00

Remove dwarves directory before using fixed package

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-08-09 09:10:51 +02:00
parent 79769dacbe
commit e030084af2

View file

@ -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"
}
# 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"
if ([ "$OMR_TARGET" = "rutx" ] || [ "$OMR_TARGET" = "rutx12" ]) && [ "${OMR_KERNEL}" = "5.4" ]; then
# cp -rf root/* "$OMR_TARGET/${OMR_KERNEL}/source"