linux: dont depend on xz:target

This commit is contained in:
Stefan Saraev 2014-02-02 17:01:07 +02:00
parent aa6c595b87
commit ce936f8b17
2 changed files with 5 additions and 1 deletions

View File

@ -32,6 +32,8 @@ PKG_LONGDESC="XZ Utils is free general-purpose data compression software with hi
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
# never build shared or k0p happens when building
# on fedora due to host selinux/liblzma
PKG_CONFIGURE_OPTS_HOST="--disable-shared --enable-static \
--disable-lzmadec \
--disable-lzmainfo \
@ -39,6 +41,8 @@ PKG_CONFIGURE_OPTS_HOST="--disable-shared --enable-static \
--disable-scripts \
--disable-nls"
# xz is not build for target now but keep this
# just in case some day we need xz:target. or gdb fails
PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"
post_makeinstall_target() {

View File

@ -32,7 +32,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kernel.org"
PKG_DEPENDS_HOST="ccache:host"
PKG_DEPENDS_TARGET="toolchain cpio:host kmod:host pciutils xz wireless-regdb"
PKG_DEPENDS_TARGET="toolchain cpio:host kmod:host pciutils xz:host wireless-regdb"
PKG_DEPENDS_INIT="toolchain"
PKG_NEED_UNPACK="$LINUX_DEPENDS"
PKG_PRIORITY="optional"