From 3e4dafa73d0c5b6870cdd871d398b6114cc2d763 Mon Sep 17 00:00:00 2001 From: suyuan168 <175338101@qq.com> Date: Wed, 29 Jun 2022 16:58:59 +0800 Subject: [PATCH] Update build.sh --- build.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/build.sh b/build.sh index 378ca1c8..d7eaca15 100755 --- a/build.sh +++ b/build.sh @@ -136,15 +136,7 @@ rm -rf "$OMR_TARGET/${OMR_KERNEL}/source/target/linux/mediatek/patches-5.4" rm -rf "$OMR_TARGET/${OMR_KERNEL}/source/package/boot/uboot-mediatek" rm -rf "$OMR_TARGET/${OMR_KERNEL}/source/package/boot/arm-trusted-firmware-mediatek" rm -rf "$OMR_TARGET/${OMR_KERNEL}/source/tools/firmware-utils" -if [ "$OMR_TARGET" != "rutx" ]; then - # There is many customization to support rutx and this seems to break other ipq40xx, so dirty workaround for now - mv "$OMR_TARGET/${OMR_KERNEL}/source/target/linux/ipq40xx" "$OMR_TARGET/${OMR_KERNEL}/source/target/linux/ipq40xx.old" - cp -rf root/* "$OMR_TARGET/${OMR_KERNEL}/source" - rm -rf "$OMR_TARGET/${OMR_KERNEL}/source/target/linux/ipq40xx" - mv "$OMR_TARGET/${OMR_KERNEL}/source/target/linux/ipq40xx.old" "$OMR_TARGET/${OMR_KERNEL}/source/target/linux/ipq40xx" -else - cp -rf root/* "$OMR_TARGET/${OMR_KERNEL}/source" -fi +cp -rf root/* "$OMR_TARGET/${OMR_KERNEL}/source" cat >> "$OMR_TARGET/${OMR_KERNEL}/source/package/base-files/files/etc/banner" <