6da0a2e4f7
- remove Marvell sources as they are non-free licensed (bnc#773824) - fix ext2 support for origen - add origen-spl.bin for origen - merge u-boot-tools - add ext2 support by default in mx53loco - add support for mx53loco - remove u-boot-omap3beagle - bump to 2012.04.01 - fixes bug in cmdline parsing - add calxeda highbank support - autoload boot.scr on beagle, so we can boot again - remove Marvell sources as they are non-free licensed (bnc#773824) - fix ext2 support for origen - add origen-spl.bin for origen - merge u-boot-tools - add ext2 support by default in mx53loco - add support for mx53loco OBS-URL: https://build.opensuse.org/request/show/130043 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=6
35 lines
780 B
Bash
35 lines
780 B
Bash
#!/bin/bash -e
|
|
|
|
BOARDNAME="$1"
|
|
BOARDCONFIG="$2"
|
|
|
|
# omap3_beagle currently needs separate sources
|
|
|
|
if [ ! "$1" -o ! "$2" ]; then
|
|
for BOARDCONFIG in omap4_panda u8500_href 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
|