From b979bf48913ee82dcf31f6aedd2600d16aff80b9 Mon Sep 17 00:00:00 2001 From: Lukasz Kotasa Date: Wed, 9 Nov 2022 13:55:25 +0100 Subject: [PATCH] genconfig: rename iopsys-brcm63xx-arm -> brcmbca --- iop/scripts/genconfig.sh | 16 ++++++++-------- iop/scripts/genconfig_min.sh | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/iop/scripts/genconfig.sh b/iop/scripts/genconfig.sh index 754bb34bc..af017a96b 100755 --- a/iop/scripts/genconfig.sh +++ b/iop/scripts/genconfig.sh @@ -13,7 +13,7 @@ function genconfig { export DEVELOPER=0 target="bogus" target_config_path="" - brcm63xx_arm_feed="target/linux/feeds/iopsys-brcm63xx-arm" + brcmbca_feed="target/linux/feeds/brcmbca" ramips_feed="target/linux/feeds/iopsys-ramips" airoha_feed="target/linux/feeds/airoha" x86_feed="target/linux/feeds/iopsys-x86" @@ -109,8 +109,8 @@ function genconfig { return fi - [ -e $brcm63xx_arm_feed/genconfig ] && - iopsys_brcm63xx_arm=$(cd $brcm63xx_arm_feed; ./genconfig) + [ -e $brcmbca_feed/genconfig ] && + brcmbca=$(cd $brcmbca_feed; ./genconfig) [ -e $ramips_feed/genconfig ] && iopsys_ramips=$(cd $ramips_feed; ./genconfig) [ -e $airoha_feed/genconfig ] && @@ -125,7 +125,7 @@ function genconfig { ipq95xx=$(cd $qualcomm_ipq95xx_feed; ./genconfig) if [ "$profile" == "LIST" ]; then - for list in iopsys_brcm63xx_arm iopsys_ramips airoha iopsys_x86 iopsys_armvirt iopsys_mediatek ipq95xx; do + for list in brcmbca iopsys_ramips airoha iopsys_x86 iopsys_armvirt iopsys_mediatek ipq95xx; do echo "$list based boards:" for b in ${!list}; do echo -e "\t$b" @@ -134,10 +134,10 @@ function genconfig { return fi - for p in $iopsys_brcm63xx_arm; do + for p in $brcmbca; do if [ $p == $profile ]; then - target="iopsys_brcm63xx_arm" - target_config_path="$brcm63xx_arm_feed/config" + target="brcmbca" + target_config_path="$brcmbca_feed/config" return fi done @@ -342,7 +342,7 @@ function genconfig { # Special handling for targets which use TARGET_DEVICES case "$target" in - iopsys_ramips | airoha | iopsys_mediatek | iopsys_brcm63xx_arm) + iopsys_ramips | airoha | iopsys_mediatek | brcmbca) # This assumes the device name to be unique within one target, # which is a fair assumption to make. local mk_file="$(grep -Fx --files-with-matches "define Device/${BOARDTYPE}" "$target_config_path/../image/"*.mk)" diff --git a/iop/scripts/genconfig_min.sh b/iop/scripts/genconfig_min.sh index b65559830..9bef24f6e 100644 --- a/iop/scripts/genconfig_min.sh +++ b/iop/scripts/genconfig_min.sh @@ -12,7 +12,7 @@ function genconfig_min { export DEVELOPER=0 target="bogus" target_config_path="" - brcm63xx_arm_feed="target/linux/feeds/iopsys-brcm63xx-arm" + brcmbca_feed="target/linux/feeds/brcmbca" ramips_feed="target/linux/feeds/iopsys-ramips" airoha_feed="target/linux/feeds/airoha" x86_feed="target/linux/feeds/iopsys-x86" @@ -108,8 +108,8 @@ function genconfig_min { return fi - [ -e $brcm63xx_arm_feed/genconfig ] && - iopsys_brcm63xx_arm=$(cd $brcm63xx_arm_feed; ./genconfig) + [ -e $brcmbca_feed/genconfig ] && + brcmbca=$(cd $brcmbca_feed; ./genconfig) [ -e $ramips_feed/genconfig ] && iopsys_ramips=$(cd $ramips_feed; ./genconfig) [ -e $airoha_feed/genconfig ] && @@ -124,7 +124,7 @@ function genconfig_min { ipq95xx=$(cd $qualcomm_ipq95xx_feed; ./genconfig) if [ "$profile" == "LIST" ]; then - for list in iopsys_brcm63xx_arm iopsys_ramips airoha iopsys_x86 iopsys_armvirt iopsys_mediatek ipq95xx; do + for list in brcmbca iopsys_ramips airoha iopsys_x86 iopsys_armvirt iopsys_mediatek ipq95xx; do echo "$list based boards:" for b in ${!list}; do echo -e "\t$b" @@ -133,10 +133,10 @@ function genconfig_min { return fi - for p in $iopsys_brcm63xx_arm; do + for p in $brcmbca; do if [ $p == $profile ]; then - target="iopsys_brcm63xx_arm" - target_config_path="$brcm63xx_arm_feed/config" + target="brcmbca" + target_config_path="$brcmbca_feed/config" return fi done @@ -333,7 +333,7 @@ function genconfig_min { # Special handling for targets which use TARGET_DEVICES case "$target" in - iopsys_ramips | airoha | iopsys_mediatek | iopsys_brcm63xx_arm) + iopsys_ramips | airoha | iopsys_mediatek | brcmbca) # This assumes the device name to be unique within one target, # which is a fair assumption to make. local mk_file="$(grep -Fx --files-with-matches "define Device/${BOARDTYPE}" "$target_config_path/../image/"*.mk)"