mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
iop: add support for iopsys-armvirt target
This commit is contained in:
parent
36ded309bc
commit
0e0bbb2339
2 changed files with 13 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ function feeds_update {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# targets need to be installed explicitly
|
# targets need to be installed explicitly
|
||||||
targets="iopsys-brcm63xx-mips iopsys-brcm63xx-arm iopsys-ramips intel_mips iopsys-x86"
|
targets="iopsys-brcm63xx-mips iopsys-brcm63xx-arm iopsys-ramips intel_mips iopsys-x86 iopsys-armvirt"
|
||||||
for target in $targets
|
for target in $targets
|
||||||
do
|
do
|
||||||
rm -f target/linux/$target
|
rm -f target/linux/$target
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ function genconfig {
|
||||||
ramips="target/linux/iopsys-ramips"
|
ramips="target/linux/iopsys-ramips"
|
||||||
intel_mips="target/linux/intel_mips"
|
intel_mips="target/linux/intel_mips"
|
||||||
x86="target/linux/iopsys-x86"
|
x86="target/linux/iopsys-x86"
|
||||||
|
armvirt="target/linux/iopsys-armvirt"
|
||||||
|
|
||||||
Red='\033[0;31m' # Red
|
Red='\033[0;31m' # Red
|
||||||
Color_Off='\033[0m' # Text Reset
|
Color_Off='\033[0m' # Text Reset
|
||||||
|
|
@ -93,9 +94,11 @@ function genconfig {
|
||||||
iopsys_intel_mips=$(cd $intel_mips; ./genconfig)
|
iopsys_intel_mips=$(cd $intel_mips; ./genconfig)
|
||||||
[ -e $x86/genconfig ] &&
|
[ -e $x86/genconfig ] &&
|
||||||
iopsys_x86=$(cd $x86; ./genconfig)
|
iopsys_x86=$(cd $x86; ./genconfig)
|
||||||
|
[ -e $armvirt/genconfig ] &&
|
||||||
|
iopsys_armvirt=$(cd $armvirt; ./genconfig)
|
||||||
|
|
||||||
if [ "$profile" == "LIST" ]; then
|
if [ "$profile" == "LIST" ]; then
|
||||||
for list in iopsys_brcm63xx_mips iopsys_brcm63xx_arm iopsys_ramips iopsys_intel_mips iopsys_x86; do
|
for list in iopsys_brcm63xx_mips iopsys_brcm63xx_arm iopsys_ramips iopsys_intel_mips iopsys_x86 iopsys_armvirt; do
|
||||||
echo "$list based boards:"
|
echo "$list based boards:"
|
||||||
for b in ${!list}; do
|
for b in ${!list}; do
|
||||||
echo -e "\t$b"
|
echo -e "\t$b"
|
||||||
|
|
@ -144,6 +147,14 @@ function genconfig {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for p in $iopsys_armvirt; do
|
||||||
|
if [ $p == $profile ]; then
|
||||||
|
target="iopsys_armvirt"
|
||||||
|
config_path="$armvirt/config"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
git remote -v | grep -q http || {
|
git remote -v | grep -q http || {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue