Return on profile match

This commit is contained in:
Jonas Höglund 2016-08-19 15:49:52 +02:00
parent b9506de548
commit 4c82a8cbe5

View file

@ -24,12 +24,14 @@ function genconfig {
for p in $iopsys_brcm63xx_mips; do
if [ $p == $profile ]; then
target="iopsys_brcm63xx_mips"
return
fi
done
for p in $iopsys_brcm63xx_arm; do
if [ $p == $profile ]; then
target="iopsys_brcm63xx_arm"
return
fi
done
@ -37,6 +39,7 @@ function genconfig {
if [ $p == $profile ]; then
target="ramips"
masterconfig=0
return
fi
done