2012-07-24 16:16:40 +02:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
BOARDNAME="$1"
|
|
|
|
BOARDCONFIG="$2"
|
2014-05-17 21:45:20 +02:00
|
|
|
ARCH_RESTRICTIONS="$3 $4"
|
2012-07-24 16:16:40 +02:00
|
|
|
|
2014-12-16 14:49:23 +01:00
|
|
|
armv6_boards="rpi"
|
2015-08-01 11:35:33 +02:00
|
|
|
armv7_boards="omap3_beagle omap4_panda am335x_evm arndale highbank mx53loco mx6qsabrelite Bananapi Cubieboard Cubieboard2 Cubietruck Mele_A1000 colibri_t20 paz00 snow A10-OLinuXino-Lime A20-OLinuXino-Lime2 pcm051_rev3 rpi_2 A20-OLinuXino-Lime A13-OLinuXinoM A13-OLinuXino A20-OLinuXino_MICRO Merrii_A80_Optimus jetson-tk1"
|
2015-04-10 09:54:24 +02:00
|
|
|
aarch64_boards=""
|
2014-05-17 21:45:20 +02:00
|
|
|
|
|
|
|
if [ ! "$1" -o ! "$2" -o ! "$3" ]; then
|
|
|
|
# armv6 boards
|
|
|
|
for BOARDCONFIG in $armv6_boards; do
|
|
|
|
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')"
|
2014-09-08 21:29:09 +02:00
|
|
|
BOARDCONFIG=${BOARDCONFIG}_defconfig
|
2014-05-17 21:45:20 +02:00
|
|
|
ARCH_RESTRICTIONS="armv6l armv6hl"
|
|
|
|
bash $0 $BOARDNAME $BOARDCONFIG $ARCH_RESTRICTIONS
|
|
|
|
done
|
|
|
|
# armv7 boards
|
|
|
|
for BOARDCONFIG in $armv7_boards; do
|
|
|
|
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')"
|
2014-09-08 21:29:09 +02:00
|
|
|
BOARDCONFIG=${BOARDCONFIG}_defconfig
|
2014-05-17 21:45:20 +02:00
|
|
|
ARCH_RESTRICTIONS="armv7l armv7hl"
|
|
|
|
bash $0 $BOARDNAME $BOARDCONFIG $ARCH_RESTRICTIONS
|
|
|
|
done
|
|
|
|
# aarch64 boards
|
|
|
|
for BOARDCONFIG in $aarch64_boards; do
|
|
|
|
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_' | tr '[:upper:]' '[:lower:]')"
|
2014-09-08 21:29:09 +02:00
|
|
|
BOARDCONFIG=${BOARDCONFIG}_defconfig
|
2014-05-17 21:45:20 +02:00
|
|
|
ARCH_RESTRICTIONS="aarch64"
|
|
|
|
bash $0 $BOARDNAME $BOARDCONFIG $ARCH_RESTRICTIONS
|
2012-07-24 16:16:40 +02:00
|
|
|
done
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
2014-12-16 14:49:23 +01:00
|
|
|
OMAP_SPL=0
|
2012-08-07 08:24:10 +02:00
|
|
|
ORIGEN_SPL=0
|
Accepting request 174405 from Base:System
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
OBS-URL: https://build.opensuse.org/request/show/174405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=13
2013-05-07 07:38:13 +02:00
|
|
|
SUNXI_SPL=0
|
2013-12-22 19:38:12 +01:00
|
|
|
ARNDALE_SPL=0
|
2014-07-11 06:45:49 +02:00
|
|
|
CUBOXI_SPL=0
|
2012-08-07 08:24:10 +02:00
|
|
|
case "$BOARDCONFIG" in
|
2014-07-11 06:45:49 +02:00
|
|
|
mx53loco*|mx6qsabrelite*|efika*) BINEND=imx ;;
|
2015-01-29 09:57:30 +01:00
|
|
|
*omap*|*am335x*|pcm051*) BINEND=img
|
2014-12-16 14:49:23 +01:00
|
|
|
OMAP_SPL=1 ;;
|
2013-12-22 19:38:12 +01:00
|
|
|
*arndale*) BINEND=bin
|
|
|
|
ARNDALE_SPL=1 ;;
|
2015-04-25 09:53:30 +02:00
|
|
|
*Bananapi*|*Cubieboard*|Cubietruck*|*-OLinuXino*) BINEND=img
|
Accepting request 174405 from Base:System
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
OBS-URL: https://build.opensuse.org/request/show/174405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=13
2013-05-07 07:38:13 +02:00
|
|
|
SUNXI_SPL=1 ;;
|
2014-11-19 20:26:40 +01:00
|
|
|
*Mele_A1000*) BINEND=img
|
Accepting request 174405 from Base:System
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
OBS-URL: https://build.opensuse.org/request/show/174405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=13
2013-05-07 07:38:13 +02:00
|
|
|
SUNXI_SPL=1 ;;
|
2014-11-19 20:26:40 +01:00
|
|
|
*Hyundai_A7HD*) BINEND=img
|
Accepting request 174405 from Base:System
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
OBS-URL: https://build.opensuse.org/request/show/174405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=13
2013-05-07 07:38:13 +02:00
|
|
|
SUNXI_SPL=1 ;;
|
2014-04-08 22:37:34 +02:00
|
|
|
*snow*) BINEND=img ;;
|
2014-07-11 06:45:49 +02:00
|
|
|
mx6_cubox-i*) BINEND=img
|
|
|
|
CUBOXI_SPL=1 ;;
|
2012-08-07 08:24:10 +02:00
|
|
|
*) BINEND=bin ;;
|
|
|
|
esac
|
2012-07-24 16:16:40 +02:00
|
|
|
|
|
|
|
sed "s/BOARDCONFIG/$BOARDCONFIG/g
|
|
|
|
s/BOARDNAME/$BOARDNAME/g
|
2014-05-17 21:45:20 +02:00
|
|
|
s/ARCH_RESTRICTIONS/$ARCH_RESTRICTIONS/g
|
2012-08-07 08:24:10 +02:00
|
|
|
s/BINEND/$BINEND/g
|
|
|
|
s/ORIGEN_SPL/$ORIGEN_SPL/g
|
2013-12-22 19:38:12 +01:00
|
|
|
s/ARNDALE_SPL/$ARNDALE_SPL/g
|
Accepting request 174405 from Base:System
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
- update to 2013.04
* no upstream changelog available
- remove dead u-boot-raspberrypi* (actually called rpib now)
- add rpib variant
- add support for cubieboard, hyundaia7hd, melea1000
OBS-URL: https://build.opensuse.org/request/show/174405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=13
2013-05-07 07:38:13 +02:00
|
|
|
s/SUNXI_SPL/$SUNXI_SPL/g
|
2014-01-21 07:02:30 +01:00
|
|
|
s/TEGRA_SPL/$TEGRA_SPL/g
|
2014-07-11 06:45:49 +02:00
|
|
|
s/CUBOXI_SPL/$CUBOXI_SPL/g
|
2014-12-16 14:49:23 +01:00
|
|
|
s/OMAP_SPL/$OMAP_SPL/g" < u-boot.spec.in > u-boot-$BOARDNAME.spec
|
2012-07-24 16:16:40 +02:00
|
|
|
|
|
|
|
cp u-boot.changes u-boot-$BOARDNAME.changes
|