2012-07-24 16:16:40 +02:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
BOARDNAME="$1"
|
|
|
|
BOARDCONFIG="$2"
|
|
|
|
|
|
|
|
if [ ! "$1" -o ! "$2" ]; then
|
2013-12-22 19:38:12 +01:00
|
|
|
for BOARDCONFIG in omap3_beagle omap4_panda am335x_evm origen arndale highbank mx53loco rpi_b cubieboard hyundai_a7hd mele_a1000; do
|
2012-07-24 16:16:40 +02:00
|
|
|
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_')"
|
|
|
|
BOARDCONFIG=${BOARDCONFIG}_config
|
|
|
|
bash $0 $BOARDNAME $BOARDCONFIG
|
|
|
|
done
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
2012-08-07 08:24:10 +02:00
|
|
|
XLOADER=0
|
|
|
|
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
|
2012-08-07 08:24:10 +02:00
|
|
|
case "$BOARDCONFIG" in
|
|
|
|
mx*|efika*) BINEND=imx ;;
|
2013-12-22 19:38:12 +01:00
|
|
|
*omap*|*am335x*) BINEND=bin
|
2012-08-07 08:24:10 +02:00
|
|
|
XLOADER=1 ;;
|
|
|
|
*origen*) BINEND=bin
|
|
|
|
ORIGEN_SPL=1 ;;
|
2013-12-22 19:38:12 +01:00
|
|
|
*arndale*) BINEND=bin
|
|
|
|
ARNDALE_SPL=1 ;;
|
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
|
|
|
*cubieboard*) BINEND=bin
|
|
|
|
SUNXI_SPL=1 ;;
|
|
|
|
*mele_a1000*) BINEND=bin
|
|
|
|
SUNXI_SPL=1 ;;
|
|
|
|
*hyundai_a7hd*) BINEND=bin
|
|
|
|
SUNXI_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
|
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
|
2012-07-24 16:16:40 +02:00
|
|
|
s/XLOADER/$XLOADER/g" < u-boot.spec.in > u-boot-$BOARDNAME.spec
|
|
|
|
|
|
|
|
cp u-boot.changes u-boot-$BOARDNAME.changes
|