From f009a030a8e44881cbf681774223158115d8029f Mon Sep 17 00:00:00 2001 From: Andreas Gnau Date: Thu, 23 Jun 2022 09:28:13 +0200 Subject: [PATCH] iop: genconfig: Update target paths for OpenWrt 22.03 Signed-off-by: Andreas Gnau --- iop/scripts/genconfig.sh | 14 +++++++------- iop/scripts/genconfig_min.sh | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/iop/scripts/genconfig.sh b/iop/scripts/genconfig.sh index 19f9e159f..ae5af63a6 100755 --- a/iop/scripts/genconfig.sh +++ b/iop/scripts/genconfig.sh @@ -13,11 +13,11 @@ function genconfig { export DEVELOPER=0 target="bogus" target_config_path="" - brcm63xx_arm="target/linux/iopsys-brcm63xx-arm" - ramips="target/linux/iopsys-ramips" - econet="target/linux/iopsys-econet" - x86="target/linux/iopsys-x86" - armvirt="target/linux/iopsys-armvirt" + brcm63xx_arm="target/linux/feeds/iopsys-brcm63xx-arm" + ramips="target/linux/feeds/iopsys-ramips" + econet="target/linux/feeds/iopsys-econet" + x86="target/linux/feeds/iopsys-x86" + armvirt="target/linux/feeds/iopsys-armvirt" Red='\033[0;31m' # Red Color_Off='\033[0m' # Text Reset @@ -83,8 +83,8 @@ function genconfig { [ -n "$profile" ] || return - if [ -n "$TARGET" -a -d "./target/linux/$TARGET" ]; then - local targetpath="./target/linux/$TARGET" + if [ -n "$TARGET" -a -d "./target/linux/feeds/$TARGET" ]; then + local targetpath="./target/linux/feeds/$TARGET" local profiles= local pfound=0 diff --git a/iop/scripts/genconfig_min.sh b/iop/scripts/genconfig_min.sh index b3d72dc5b..5bb2f0465 100644 --- a/iop/scripts/genconfig_min.sh +++ b/iop/scripts/genconfig_min.sh @@ -12,11 +12,11 @@ function genconfig_min { export DEVELOPER=0 target="bogus" target_config_path="" - brcm63xx_arm="target/linux/iopsys-brcm63xx-arm" - ramips="target/linux/iopsys-ramips" - econet="target/linux/iopsys-econet" - x86="target/linux/iopsys-x86" - armvirt="target/linux/iopsys-armvirt" + brcm63xx_arm="target/linux/feeds/iopsys-brcm63xx-arm" + ramips="target/linux/feeds/iopsys-ramips" + econet="target/linux/feeds/iopsys-econet" + x86="target/linux/feeds/iopsys-x86" + armvirt="target/linux/feeds/iopsys-armvirt" Red='\033[0;31m' # Red Color_Off='\033[0m' # Text Reset @@ -82,8 +82,8 @@ function genconfig_min { [ -n "$profile" ] || return - if [ -n "$TARGET" -a -d "./target/linux/$TARGET" ]; then - local targetpath="./target/linux/$TARGET" + if [ -n "$TARGET" -a -d "./target/linux/feeds/$TARGET" ]; then + local targetpath="./target/linux/feeds/$TARGET" local profiles= local pfound=0