mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
add pciutils for debugging
This commit is contained in:
parent
29f619f386
commit
9d57c2ff98
@ -135,6 +135,9 @@ LCD_MODEL=HD44780-winamp
|
||||
LCD_WIDTH=16
|
||||
LCD_HEIGHT=2
|
||||
|
||||
DEBUG=no
|
||||
DEVTOOLS=no
|
||||
|
||||
# verbose compilation mode (yes/no)
|
||||
VERBOSE=yes
|
||||
|
||||
|
@ -27,11 +27,8 @@ LIB_PREFIX=$SYSROOT_PREFIX/usr
|
||||
TARGET_PREFIX=$ROOT/$TOOLCHAIN/bin/$TARGET_NAME-
|
||||
|
||||
if [ "$OPENELEC_VERSION" = devel ]; then
|
||||
DEBUG=no
|
||||
DEVTOOLS=yes
|
||||
DEBUG=no
|
||||
else
|
||||
DEVTOOLS=no
|
||||
DEBUG=no
|
||||
fi
|
||||
|
||||
HOST_NAME_CACHE=$BUILD/configtools/host_name
|
||||
|
@ -38,7 +38,6 @@ ac_cv_lib_xvidcore_xvid_global=yes \
|
||||
--disable-experimental \
|
||||
--disable-gtk-doc \
|
||||
--enable-aiffparse \
|
||||
--enable-app \
|
||||
--enable-bayer \
|
||||
--enable-cdxaparse \
|
||||
--enable-dccp \
|
||||
@ -46,7 +45,6 @@ ac_cv_lib_xvidcore_xvid_global=yes \
|
||||
--enable-deinterlace2 \
|
||||
--enable-dvdspu \
|
||||
--enable-festival \
|
||||
--enable-filter \
|
||||
--enable-flv \
|
||||
--enable-freeze \
|
||||
--enable-h264parse \
|
||||
@ -67,7 +65,6 @@ ac_cv_lib_xvidcore_xvid_global=yes \
|
||||
--enable-sdp \
|
||||
--enable-selector \
|
||||
--enable-speed \
|
||||
--enable-speexresample \
|
||||
--enable-subenc \
|
||||
--enable-stereo \
|
||||
--enable-tta \
|
||||
|
21
packages/sysutils/pciutils/build
Executable file
21
packages/sysutils/pciutils/build
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
cd $BUILD/$1*
|
||||
|
||||
make OPT="$TARGET_CFLAGS" \
|
||||
CROSS_COMPILE=${TARGET_PREFIX} \
|
||||
HOST=$TARGET_ARCH-linux \
|
||||
IDSDIR="/usr/share" \
|
||||
ZLIB=no \
|
||||
DNS=no \
|
||||
PREFIX=/usr \
|
||||
|
||||
./update-pciids.sh
|
||||
|
||||
#cp $ROOT/$PKG_DIR/pci.ids .
|
7
packages/sysutils/pciutils/init.d/05_lspci
Executable file
7
packages/sysutils/pciutils/init.d/05_lspci
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# cache pci devices
|
||||
#
|
||||
# runlevels: geexbox, debug, install, configure
|
||||
|
||||
lspci > /tmp/pci
|
9
packages/sysutils/pciutils/install
Executable file
9
packages/sysutils/pciutils/install
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $BUILD/$1*/lspci $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/usr/share
|
||||
cp $BUILD/$1*/pci.ids $INSTALL/usr/share
|
17465
packages/sysutils/pciutils/pci.ids
Normal file
17465
packages/sysutils/pciutils/pci.ids
Normal file
File diff suppressed because it is too large
Load Diff
1
packages/sysutils/pciutils/url
Normal file
1
packages/sysutils/pciutils/url
Normal file
@ -0,0 +1 @@
|
||||
http://ftp.de.kernel.org/pub/software/utils/pciutils/pciutils-3.1.2.tar.bz2
|
@ -73,6 +73,7 @@ case "$2" in
|
||||
# Devtools... (not for Release)
|
||||
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install gdb
|
||||
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install mrxvt
|
||||
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install pciutils
|
||||
|
||||
#[ "$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