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" <