SHA256
1
0
forked from pool/u-boot
u-boot/pre_checkin.sh
Stephan Kulow ae43375422 Accepting request 163711 from Base:System
- add omap3_beagle to targets 

- remove u8500href subpackage, kernel got dropped

- update to 2013.04rc2
- enable bootz support on all boards

- add omap3_beagle to targets 

- remove u8500href subpackage, kernel got dropped

- update to 2013.04rc2
- enable bootz support on all boards

- add omap3_beagle to targets 

- remove u8500href subpackage, kernel got dropped

- update to 2013.04rc2
- enable bootz support on all boards

- add omap3_beagle to targets 

- remove u8500href subpackage, kernel got dropped

- update to 2013.04rc2
- enable bootz support on all boards

- add omap3_beagle to targets

OBS-URL: https://build.opensuse.org/request/show/163711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=12
2013-04-17 07:25:52 +00:00

35 lines
782 B
Bash

#!/bin/bash -e
BOARDNAME="$1"
BOARDCONFIG="$2"
# omap3_beagle currently needs separate sources
if [ ! "$1" -o ! "$2" ]; then
for BOARDCONFIG in omap3_beagle omap4_panda origen highbank mx53loco; do
BOARDNAME="$(echo $BOARDCONFIG | tr -d '_')"
BOARDCONFIG=${BOARDCONFIG}_config
bash $0 $BOARDNAME $BOARDCONFIG
done
exit 0
fi
XLOADER=0
ORIGEN_SPL=0
case "$BOARDCONFIG" in
mx*|efika*) BINEND=imx ;;
*omap*) BINEND=bin
XLOADER=1 ;;
*origen*) BINEND=bin
ORIGEN_SPL=1 ;;
*) BINEND=bin ;;
esac
sed "s/BOARDCONFIG/$BOARDCONFIG/g
s/BOARDNAME/$BOARDNAME/g
s/BINEND/$BINEND/g
s/ORIGEN_SPL/$ORIGEN_SPL/g
s/XLOADER/$XLOADER/g" < u-boot.spec.in > u-boot-$BOARDNAME.spec
cp u-boot.changes u-boot-$BOARDNAME.changes