packages: pciutils, nasm, etc.: build only for x86_64

This commit is contained in:
MilhouseVH 2019-02-08 17:17:43 +00:00
parent 59cfb354d9
commit 15287a2da8
6 changed files with 25 additions and 8 deletions

View File

@ -21,13 +21,16 @@ PKG_ADDON_TYPE="xbmc.python.script"
PKG_DEPENDS_TARGET="toolchain \ PKG_DEPENDS_TARGET="toolchain \
alsa-utils \ alsa-utils \
mediainfo \ mediainfo \
mesa-demos \
mpg123 \ mpg123 \
opencaster \ opencaster \
squeezelite \ squeezelite \
tsdecrypt \ tsdecrypt \
tstools" tstools"
if [ "$TARGET_ARCH" = "x86_64" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET mesa-demos"
fi
addon() { addon() {
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin/ mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin/
# alsamixer # alsamixer

View File

@ -22,7 +22,6 @@ PKG_DEPENDS_TARGET="toolchain \
diffutils \ diffutils \
dstat \ dstat \
dtach \ dtach \
efibootmgr \
encfs \ encfs \
evtest \ evtest \
fdupes \ fdupes \
@ -38,7 +37,6 @@ PKG_DEPENDS_TARGET="toolchain \
lm_sensors \ lm_sensors \
lshw \ lshw \
mc \ mc \
mrxvt \
mtpfs \ mtpfs \
nmon \ nmon \
p7zip \ p7zip \
@ -52,6 +50,10 @@ PKG_DEPENDS_TARGET="toolchain \
usb-modeswitch \ usb-modeswitch \
vim" vim"
if [ "$TARGET_ARCH" = "x86_64" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET efibootmgr mrxvt"
fi
addon() { addon() {
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib/ mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib/
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/data/ mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/data/

View File

@ -6,7 +6,7 @@ PKG_NAME="linux"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"
PKG_SITE="http://www.kernel.org" PKG_SITE="http://www.kernel.org"
PKG_DEPENDS_HOST="ccache:host" PKG_DEPENDS_HOST="ccache:host"
PKG_DEPENDS_TARGET="toolchain cpio:host kmod:host pciutils xz:host wireless-regdb keyutils $KERNEL_EXTRA_DEPENDS_TARGET" PKG_DEPENDS_TARGET="toolchain cpio:host kmod:host xz:host wireless-regdb keyutils $KERNEL_EXTRA_DEPENDS_TARGET"
PKG_DEPENDS_INIT="toolchain" PKG_DEPENDS_INIT="toolchain"
PKG_NEED_UNPACK="$LINUX_DEPENDS" PKG_NEED_UNPACK="$LINUX_DEPENDS"
PKG_LONGDESC="This package contains a precompiled kernel image and the modules." PKG_LONGDESC="This package contains a precompiled kernel image and the modules."
@ -57,7 +57,7 @@ if [ "$PKG_BUILD_PERF" != "no" ] && grep -q ^CONFIG_PERF_EVENTS= $PKG_KERNEL_CFG
fi fi
if [ "$TARGET_ARCH" = "x86_64" ]; then if [ "$TARGET_ARCH" = "x86_64" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET intel-ucode:host kernel-firmware elfutils:host" PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET intel-ucode:host kernel-firmware elfutils:host pciutils"
fi fi
if [ "$BUILD_ANDROID_BOOTIMG" = "yes" ]; then if [ "$BUILD_ANDROID_BOOTIMG" = "yes" ]; then

View File

@ -5,7 +5,7 @@
PKG_NAME="kodi" PKG_NAME="kodi"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv" PKG_SITE="http://www.kodi.tv"
PKG_DEPENDS_TARGET="toolchain JsonSchemaBuilder:host TexturePacker:host Python2 zlib systemd pciutils lzo pcre swig:host libass curl fontconfig fribidi tinyxml libjpeg-turbo freetype libcdio taglib libxml2 libxslt rapidjson sqlite ffmpeg crossguid giflib libdvdnav libhdhomerun libfmt lirc libfstrcmp flatbuffers:host flatbuffers" PKG_DEPENDS_TARGET="toolchain JsonSchemaBuilder:host TexturePacker:host Python2 zlib systemd lzo pcre swig:host libass curl fontconfig fribidi tinyxml libjpeg-turbo freetype libcdio taglib libxml2 libxslt rapidjson sqlite ffmpeg crossguid giflib libdvdnav libhdhomerun libfmt lirc libfstrcmp flatbuffers:host flatbuffers"
PKG_LONGDESC="A free and open source cross-platform media player." PKG_LONGDESC="A free and open source cross-platform media player."
PKG_PATCH_DIRS="$KODI_VENDOR" PKG_PATCH_DIRS="$KODI_VENDOR"
@ -39,6 +39,10 @@ configure_package() {
get_graphicdrivers get_graphicdrivers
if [ "$TARGET_ARCH" = "x86_64" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET pciutils"
fi
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET dbus" PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET dbus"
if [ "$DISPLAYSERVER" = "x11" ]; then if [ "$DISPLAYSERVER" = "x11" ]; then

View File

@ -7,5 +7,9 @@ PKG_SHA256="3662184809fa29af39c920877cedec3724dc5c3cf71d94bec424f2a7ee4825cf"
PKG_LICENSE="BSD" PKG_LICENSE="BSD"
PKG_SITE="http://www.jbkempf.com/blog/post/2018/Introducing-dav1d" PKG_SITE="http://www.jbkempf.com/blog/post/2018/Introducing-dav1d"
PKG_URL="https://code.videolan.org/videolan/dav1d/-/archive/${PKG_VERSION}/dav1d-${PKG_VERSION}.tar.bz2" PKG_URL="https://code.videolan.org/videolan/dav1d/-/archive/${PKG_VERSION}/dav1d-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain nasm:host" PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="dav1d is an AV1 decoder :)" PKG_LONGDESC="dav1d is an AV1 decoder :)"
if [ "$TARGET_ARCH" = "x86_64" ]; then
PKG_DEPENDS_TARGET+=" nasm:host"
fi

View File

@ -9,7 +9,7 @@ PKG_LICENSE="GPL"
PKG_SITE="http://www.busybox.net" PKG_SITE="http://www.busybox.net"
PKG_URL="http://busybox.net/downloads/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_URL="http://busybox.net/downloads/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_HOST="" PKG_DEPENDS_HOST=""
PKG_DEPENDS_TARGET="toolchain busybox:host hdparm dosfstools e2fsprogs zip unzip pciutils usbutils parted procps-ng gptfdisk libtirpc" PKG_DEPENDS_TARGET="toolchain busybox:host hdparm dosfstools e2fsprogs zip unzip usbutils parted procps-ng gptfdisk libtirpc"
PKG_DEPENDS_INIT="toolchain libtirpc" PKG_DEPENDS_INIT="toolchain libtirpc"
PKG_LONGDESC="BusyBox combines tiny versions of many common UNIX utilities into a single small executable." PKG_LONGDESC="BusyBox combines tiny versions of many common UNIX utilities into a single small executable."
# busybox fails to build with GOLD support enabled with binutils-2.25 # busybox fails to build with GOLD support enabled with binutils-2.25
@ -25,6 +25,10 @@ if [ "$NFS_SUPPORT" = yes ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET rpcbind" PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET rpcbind"
fi fi
if [ "$TARGET_ARCH" = "x86_64" ]; then
PKG_DEPENDS_TARGET+=" pciutils"
fi
pre_build_target() { pre_build_target() {
PKG_MAKE_OPTS_TARGET="ARCH=$TARGET_ARCH \ PKG_MAKE_OPTS_TARGET="ARCH=$TARGET_ARCH \
HOSTCC=$HOST_CC \ HOSTCC=$HOST_CC \