Skip to content

Commit

Permalink
Remove dwarves directory before using fixed package
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Aug 9, 2024
1 parent 79769da commit e030084
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e030084

Please sign in to comment.