mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
add flashrom from coreboot, firstly for testing
This commit is contained in:
parent
b94ee4213a
commit
34891e6277
@ -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
11
packages/tools/flashrom/build
Executable 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
|
9
packages/tools/flashrom/install
Executable file
9
packages/tools/flashrom/install
Executable 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
|
1
packages/tools/flashrom/url
Normal file
1
packages/tools/flashrom/url
Normal file
@ -0,0 +1 @@
|
||||
http://sources.openelec.tv/svn/flashrom-svn-4115.tar.bz2
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user