add flashrom from coreboot, firstly for testing

This commit is contained in:
Stephan Raue 2009-04-14 23:54:02 +02:00
parent b94ee4213a
commit 34891e6277
5 changed files with 26 additions and 0 deletions

View File

@ -16,6 +16,10 @@ make OPT="$TARGET_CFLAGS" \
DNS=no \
PREFIX=/usr \
make PREFIX=/usr \
IDSDIR="/usr/share" \
DESTDIR=$SYSROOT_PREFIX install
./update-pciids.sh
#cp $ROOT/$PKG_DIR/pci.ids .

11
packages/tools/flashrom/build Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
$SCRIPTS/build zlib
$SCRIPTS/build pciutils
cd $BUILD/$1*
$MAKE CC=$TARGET_CC STRIP=$STRIP

View File

@ -0,0 +1,9 @@
#!/bin/sh
. config/options
$SCRIPTS/install zlib
$SCRIPTS/install pciutils
mkdir -p $INSTALL/usr/bin
cp -PR $BUILD/$1*/$1 $INSTALL/usr/bin

View File

@ -0,0 +1 @@
http://sources.openelec.tv/svn/flashrom-svn-4115.tar.bz2

View File

@ -77,6 +77,7 @@ case "$2" in
# Devtools for Cooreboot... (not for Release)
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install superiotool
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install flashrom
#[ "$EXTRACODECS" = yes ] && $SCRIPTS/install extra-codecs-nonfree $1
#[ "$EXTRAFIRMWARES" = yes ] && $SCRIPTS/install extra-firmwares-nonfree $1