u-boot: clean up

This commit is contained in:
Stefan Saraev 2013-10-14 13:31:10 +03:00
parent 604778588e
commit d5cda8d424
9 changed files with 7 additions and 68 deletions

View File

@ -41,12 +41,6 @@ fi
cd $PKG_BUILD
if [ "$UBOOT_VERSION" = "aml" ]; then
rm -f tools/ucl/libucl_linux.lib
make -C tools/ucl/ucl_cygwin_prj/
cp -f tools/ucl/ucl_cygwin_prj/objs/libucl.a tools/ucl/libucl_linux.lib
fi
make CROSS_COMPILE="$TARGET_PREFIX" ARCH="$TARGET_ARCH" $UBOOT_CONFIG
make CROSS_COMPILE="$TARGET_PREFIX" ARCH="$TARGET_ARCH" HOSTCC="$HOST_CC" HOSTSTRIP="true"

View File

@ -27,11 +27,7 @@ if [ -z "$UBOOT_CONFIGFILE" ]; then
fi
mkdir -p $INSTALL/usr/share/u-boot
if [ "$UBOOT_VERSION" = "aml" ]; then
cp $PKG_BUILD/build/u-boot-aml-ucl.bin $INSTALL/usr/share/u-boot/spi_M3_512.bin
else
cp $PKG_BUILD/u-boot.bin $INSTALL/usr/share/u-boot
fi
cp $PKG_BUILD/u-boot.bin $INSTALL/usr/share/u-boot
if [ -f "$PKG_BUILD/MLO" ]; then
cp $PKG_BUILD/MLO $INSTALL/usr/share/u-boot

View File

@ -19,15 +19,7 @@
################################################################################
PKG_NAME="u-boot"
if [ "$UBOOT_VERSION" = "aml" ]; then
PKG_VERSION="aml-50dba31"
PKG_SITE="https://github.com/Pivosgroup/buildroot-uboot"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
elif [ "$UBOOT_VERSION" = "cubox" ]; then
PKG_VERSION="cubox-f826edd"
PKG_SITE="https://github.com/rabeeh/u-boot/tree/"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
else
if [ "$UBOOT_VERSION" = "default" ]; then
PKG_VERSION="2011.03-rc1"
PKG_SITE="http://www.denx.de/wiki/U-Boot/WebHome"
PKG_URL="ftp://ftp.denx.de/pub/u-boot/$PKG_NAME-$PKG_VERSION.tar.bz2"

View File

@ -97,7 +97,7 @@
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="syslinux"
# u-boot version to use (default / aml / cubox)
# u-boot version to use (default)
UBOOT_VERSION="default"
# Configuration for u-boot

View File

@ -97,7 +97,7 @@
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="atv-bootloader"
# u-boot version to use (default / aml / cubox)
# u-boot version to use (default)
UBOOT_VERSION="default"
# Configuration for u-boot

View File

@ -97,7 +97,7 @@
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="syslinux"
# u-boot version to use (default / aml / cubox)
# u-boot version to use (default)
UBOOT_VERSION="default"
# Configuration for u-boot

View File

@ -97,7 +97,7 @@
# Bootloader to use (syslinux / u-boot / atv-bootloader / bcm2835-bootloader)
BOOTLOADER="bcm2835-bootloader"
# u-boot version to use (default / aml / cubox)
# u-boot version to use (default)
UBOOT_VERSION="default"
# Configuration for u-boot

View File

@ -92,7 +92,7 @@
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="syslinux"
# u-boot version to use (default / aml / cubox)
# u-boot version to use (default)
UBOOT_VERSION="default"
# Configuration for u-boot

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d u-boot-aml.git ]; then
git clone git://github.com/Pivosgroup/buildroot-uboot.git u-boot-aml.git
fi
cd u-boot-aml.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf u-boot-aml-$GIT_REV
cp -R u-boot-aml.git u-boot-aml-$GIT_REV
echo "cleaning sources..."
rm -rf u-boot-aml-$GIT_REV/.git
echo "packing sources..."
tar cvJf u-boot-aml-$GIT_REV.tar.xz u-boot-aml-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf u-boot-aml-$GIT_REV