mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +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_WIDTH=16
|
||||||
LCD_HEIGHT=2
|
LCD_HEIGHT=2
|
||||||
|
|
||||||
|
DEBUG=no
|
||||||
|
DEVTOOLS=no
|
||||||
|
|
||||||
# verbose compilation mode (yes/no)
|
# verbose compilation mode (yes/no)
|
||||||
VERBOSE=yes
|
VERBOSE=yes
|
||||||
|
|
||||||
|
@ -27,11 +27,8 @@ LIB_PREFIX=$SYSROOT_PREFIX/usr
|
|||||||
TARGET_PREFIX=$ROOT/$TOOLCHAIN/bin/$TARGET_NAME-
|
TARGET_PREFIX=$ROOT/$TOOLCHAIN/bin/$TARGET_NAME-
|
||||||
|
|
||||||
if [ "$OPENELEC_VERSION" = devel ]; then
|
if [ "$OPENELEC_VERSION" = devel ]; then
|
||||||
|
DEBUG=no
|
||||||
DEVTOOLS=yes
|
DEVTOOLS=yes
|
||||||
DEBUG=no
|
|
||||||
else
|
|
||||||
DEVTOOLS=no
|
|
||||||
DEBUG=no
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
HOST_NAME_CACHE=$BUILD/configtools/host_name
|
HOST_NAME_CACHE=$BUILD/configtools/host_name
|
||||||
|
@ -38,7 +38,6 @@ ac_cv_lib_xvidcore_xvid_global=yes \
|
|||||||
--disable-experimental \
|
--disable-experimental \
|
||||||
--disable-gtk-doc \
|
--disable-gtk-doc \
|
||||||
--enable-aiffparse \
|
--enable-aiffparse \
|
||||||
--enable-app \
|
|
||||||
--enable-bayer \
|
--enable-bayer \
|
||||||
--enable-cdxaparse \
|
--enable-cdxaparse \
|
||||||
--enable-dccp \
|
--enable-dccp \
|
||||||
@ -46,7 +45,6 @@ ac_cv_lib_xvidcore_xvid_global=yes \
|
|||||||
--enable-deinterlace2 \
|
--enable-deinterlace2 \
|
||||||
--enable-dvdspu \
|
--enable-dvdspu \
|
||||||
--enable-festival \
|
--enable-festival \
|
||||||
--enable-filter \
|
|
||||||
--enable-flv \
|
--enable-flv \
|
||||||
--enable-freeze \
|
--enable-freeze \
|
||||||
--enable-h264parse \
|
--enable-h264parse \
|
||||||
@ -67,7 +65,6 @@ ac_cv_lib_xvidcore_xvid_global=yes \
|
|||||||
--enable-sdp \
|
--enable-sdp \
|
||||||
--enable-selector \
|
--enable-selector \
|
||||||
--enable-speed \
|
--enable-speed \
|
||||||
--enable-speexresample \
|
|
||||||
--enable-subenc \
|
--enable-subenc \
|
||||||
--enable-stereo \
|
--enable-stereo \
|
||||||
--enable-tta \
|
--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... (not for Release)
|
||||||
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install gdb
|
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install gdb
|
||||||
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install mrxvt
|
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install mrxvt
|
||||||
|
[ "$DEVTOOLS" = yes ] && $SCRIPTS/install pciutils
|
||||||
|
|
||||||
#[ "$EXTRACODECS" = yes ] && $SCRIPTS/install extra-codecs-nonfree $1
|
#[ "$EXTRACODECS" = yes ] && $SCRIPTS/install extra-codecs-nonfree $1
|
||||||
#[ "$EXTRAFIRMWARES" = yes ] && $SCRIPTS/install extra-firmwares-nonfree $1
|
#[ "$EXTRAFIRMWARES" = yes ] && $SCRIPTS/install extra-firmwares-nonfree $1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user