From: Michael Tremer Date: Sun, 2 Dec 2012 23:29:50 +0000 (+0100) Subject: u-boot: Update to 2012.10. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=67ae211c33e8734f14e0fc5a2074fcf1ff232618;p=people%2Famarx%2Fipfire-3.x.git u-boot: Update to 2012.10. Remove all versions we currently do not support. That leaves us with dreamplug and Pandaboard. --- diff --git a/u-boot/targets b/u-boot/targets index f6fad92ff..8f2c60193 100644 --- a/u-boot/targets +++ b/u-boot/targets @@ -1,12 +1,4 @@ -# HOST_ARCH platform target +# HOST_ARCH platform targets # -------------------------------------------- -armv5tel dockstar u-boot.kwb -# Dreamplug is not supported by this version of uboot. -#armv5tel dreamplug u-boot.kwb -armv5tel guruplug u-boot.kwb -armv5tel openrd_ultimate u-boot.kwb -armv5tel sheevaplug u-boot.kwb -armv7hl efikamx u-boot.imx -armv7hl igep0020 u-boot.bin -armv7hl omap3_beagle u-boot.bin -armv7hl omap4_panda u-boot.bin +armv5tel dreamplug u-boot.bin +armv7hl omap4_panda u-boot.bin u-boot.img diff --git a/u-boot/u-boot.nm b/u-boot/u-boot.nm index 0847564b2..fc04ab920 100644 --- a/u-boot/u-boot.nm +++ b/u-boot/u-boot.nm @@ -4,7 +4,7 @@ ############################################################################### name = u-boot -version = 2011.09 +version = 2012.10 release = 1 sup_arches = armv5tel armv7hl @@ -23,15 +23,15 @@ sources = %{thisapp}.tar.bz2 build build - while read arch platform target; do + while read arch platform targets; do # Skip all other architectures. [ "${arch}" = "%{DISTRO_ARCH}" ] || continue builddir="$(pwd)/build-${platform}" mkdir -p ${builddir} - make O=${builddir} ${platform}_config - make O=${builddir} ${builddir}/${target} + make CROSS_COMPILE="" O=${builddir} ${platform}_config + make HOSTCC="gcc %{CFLAGS}" CROSS_COMPILE="" O=${builddir} done < %{DIR_SOURCE}/targets # Build tools. @@ -43,7 +43,7 @@ build end install - while read arch platform target; do + while read arch platform targets; do # Skip all other architectures. [ "${arch}" = "%{DISTRO_ARCH}" ] || continue @@ -51,8 +51,16 @@ build installdir="%{BUILDROOT}/usr/lib/%{name}/${platform}" mkdir -pv ${installdir} - install -D -m 644 ${builddir}/${target} ${installdir} - install -D -m 644 ${builddir}/u-boot ${installdir}/uboot.elf + for target in ${targets}; do + install -D -m 644 ${builddir}/${target} ${installdir} + done + if [ -e "${builddir}/MLO" ]; then + install -D -m 644 ${builddir}/MLO ${installdir} + fi + for f in ${builddir}/spl/*.bin; do + [ -e "${f}" ] || continue + install -D -m 644 ${f} ${installdir} + done done < %{DIR_SOURCE}/targets # Install tools.