iop: feeds_update: do not hardcode targets

This commit is contained in:
Sukru Senli 2022-03-05 12:28:02 +01:00
parent bd3e0e31be
commit 2948de9994

View file

@ -32,8 +32,7 @@ function feeds_update {
fi
# targets need to be installed explicitly
targets="iopsys-brcm63xx-arm iopsys-ramips intel_mips iopsys-x86 iopsys-armvirt iopsys-bcm27xx iopsys-mediatek iopsys-econet"
for target in $targets
for target in "$(ls ./feeds/targets)"
do
rm -f target/linux/$target
./scripts/feeds install -p targets $target