Browse Source

added uboot-tools

early
Nagy Karoly Gabriel 17 years ago
parent
commit
91ea41bbee
  1. 22
      wip/uboot-tools/uboot-tools.cache
  2. 28
      wip/uboot-tools/uboot-tools.conf
  3. 32
      wip/uboot-tools/uboot-tools.desc

22
wip/uboot-tools/uboot-tools.cache

@ -0,0 +1,22 @@
[TIMESTAMP] 1202318736 Wed Feb 6 19:25:36 2008
[BUILDTIME] 5 (5)
[SIZE] 0.06 MB, 12 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux
[DEP] zlib

28
wip/uboot-tools/uboot-tools.conf

@ -0,0 +1,28 @@
configscript=""
makeinstopt=
hook_add premake 5 massage
var_append makeopt ' ' 'HOSTSTRIP=echo BIN_FILES="bmp_logo gen_eth_addr img2srec mkimage" tools'
#var_append makeopt ' ' 'HOSTSTRIP=echo -C tools/easylogo'
hook_add postmake 5 install_uboot
massage() {
touch include/config.mk
sed -i -e 's:linux/string.h:string.h:' lib_generic/sha1.c
sed -i -e 's:asm/string.h:string.h:' include/linux/string.h
sed -i -e 's:linux/mtd/mtd.h:mtd/mtd-user.h:' tools/env/fw_env.c
sed -i \
-e '1i#include <string.h>' \
-e '1i#include <stdlib.h>' \
tools/easylogo/easylogo.c
}
install_uboot(){
make HOSTSTRIP=echo -C tools/easylogo
for x in tools/{bmp_logo,gen_eth_addr,img2srec,mkimage}
do
cp -avf $x $root/$bindir
done
cp -avf tools/easylogo/easylogo $root/$bindir
}

32
wip/uboot-tools/uboot-tools.desc

@ -0,0 +1,32 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../uboot/uboot.desc
[COPY] Copyright (C) 2008 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] Universal Bootloader
[T] Boot loader for Embedded boards based on PowerPC, ARM, MIPS and several other
[T] processors, which can be installed in a boot ROM and used to initialize and test
[T] the hardware or to download and run application code.
[U] http://www.denx.de/wiki/UBoot/WebHome
[A] Wolfgang Denk <wd@denx.de>
[M] Nagy Karoly Gabriel <list@opensde.org>
[C] base/boot
[L] GPL
[S] Stable
[V] 1.3.1
[P] X -----5---9 800.000
[D] 3256757096 u-boot-1.3.1.tar.bz2 ftp://ftp.denx.de/pub/u-boot/
Loading…
Cancel
Save