From 034d6491b364957ec0f512c6df1755309a2ed4a2 Mon Sep 17 00:00:00 2001 From: Ycarus Date: Sun, 23 Dec 2018 14:10:39 +0100 Subject: [PATCH] Fix and use master source for OpenWrt --- build.sh | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/build.sh b/build.sh index ce7d61ee..b1dba6f8 100755 --- a/build.sh +++ b/build.sh @@ -42,6 +42,10 @@ if [ "$OMR_TARGET" = "rpi3" ]; then OMR_REAL_TARGET="aarch64_cortex-a53" elif [ "$OMR_TARGET" = "rpi2" ]; then OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4" +elif [ "$OMR_TARGET" = "wrt3200acm" ]; then + OMR_REAL_TARGET="arm_cortex-a9_vfpv3" +elif [ "$OMR_TARGET" = "wrt32x" ]; then + OMR_REAL_TARGET="arm_cortex-a9_vfpv3" elif [ "$OMR_TARGET" = "bpi-r2" ]; then OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4" else @@ -49,10 +53,8 @@ else fi #_get_repo source https://github.com/ysurac/openmptcprouter-source "master" -#_get_repo "$OMR_TARGET/source" https://github.com/lede-project/source.git "3db9d6e57def2912314c7ce0bc0c282f313ed654" -_get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "openwrt-18.06" +_get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "386803a006edafd54cef20b4b99b033b1b52cf5c" _get_repo feeds/packages https://github.com/openwrt/packages "openwrt-18.06" -#_get_repo feeds/luci https://github.com/openwrt/luci "lede-17.01" _get_repo feeds/luci https://github.com/openwrt/luci "openwrt-18.06" if [ -z "$OMR_FEED" ]; then @@ -69,7 +71,7 @@ if [ "$OMR_KEEPBIN" = "no" ]; then rm -rf "$OMR_TARGET/source/bin" fi rm -rf "$OMR_TARGET/source/files" "$OMR_TARGET/source/tmp" "$OMR_TARGET/source/package/network/services/hostapd" -rm -rf "$OMR_TARGET/source/target/linux/mediatek/patches-4.14" +#rm -rf "$OMR_TARGET/source/target/linux/mediatek/patches-4.14" cp -rf root/* "$OMR_TARGET/source" cat >> "$OMR_TARGET/source/package/base-files/files/etc/banner" <