mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
iop: add iopsys-x86 target support
This commit is contained in:
parent
c8a8cda534
commit
45190fb2fd
2 changed files with 13 additions and 5 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"
|
targets="iopsys-brcm63xx-mips iopsys-brcm63xx-arm iopsys-ramips intel_mips iopsys-x86"
|
||||||
for target in $targets
|
for target in $targets
|
||||||
do
|
do
|
||||||
rm -f target/linux/$target
|
rm -f target/linux/$target
|
||||||
|
|
@ -57,6 +57,3 @@ function feeds_update {
|
||||||
|
|
||||||
register_command "feeds_update" "Update feeds to point to commit hashes from feeds.conf"
|
register_command "feeds_update" "Update feeds to point to commit hashes from feeds.conf"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ function genconfig {
|
||||||
brcm63xx_arm="target/linux/iopsys-brcm63xx-arm"
|
brcm63xx_arm="target/linux/iopsys-brcm63xx-arm"
|
||||||
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"
|
||||||
|
|
||||||
Red='\033[0;31m' # Red
|
Red='\033[0;31m' # Red
|
||||||
Color_Off='\033[0m' # Text Reset
|
Color_Off='\033[0m' # Text Reset
|
||||||
|
|
@ -90,9 +91,11 @@ function genconfig {
|
||||||
iopsys_ramips=$(cd $ramips; ./genconfig)
|
iopsys_ramips=$(cd $ramips; ./genconfig)
|
||||||
[ -e $intel_mips/genconfig ] &&
|
[ -e $intel_mips/genconfig ] &&
|
||||||
iopsys_intel_mips=$(cd $intel_mips; ./genconfig)
|
iopsys_intel_mips=$(cd $intel_mips; ./genconfig)
|
||||||
|
[ -e $x86/genconfig ] &&
|
||||||
|
iopsys_x86=$(cd $x86; ./genconfig)
|
||||||
|
|
||||||
if [ "$profile" == "LIST" ]; then
|
if [ "$profile" == "LIST" ]; then
|
||||||
for list in iopsys_brcm63xx_mips iopsys_brcm63xx_arm iopsys_ramips iopsys_intel_mips; do
|
for list in iopsys_brcm63xx_mips iopsys_brcm63xx_arm iopsys_ramips iopsys_intel_mips iopsys_x86; 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"
|
||||||
|
|
@ -133,6 +136,14 @@ function genconfig {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for p in $iopsys_x86; do
|
||||||
|
if [ $p == $profile ]; then
|
||||||
|
target="iopsys_x86"
|
||||||
|
config_path="$x86/config"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
git remote -v | grep -q http || {
|
git remote -v | grep -q http || {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue