diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2019-09-25 01:29:06 +0100 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2019-09-26 22:59:28 +0100 |
commit | 6ac4c24422685a9edd4f6a4b73015a24427642e3 (patch) | |
tree | 65006f79182a2952c7600466ad30d6291457db11 /eclass/linux-build.eclass | |
parent | factory-default/sys-libs/timezone-data: add etc/timezone (diff) | |
download | portage-6ac4c24422685a9edd4f6a4b73015a24427642e3.tar.xz |
eclass/linux-build: look for system tools on host root
Diffstat (limited to 'eclass/linux-build.eclass')
-rw-r--r-- | eclass/linux-build.eclass | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass index c349ff3e..48296fd3 100644 --- a/eclass/linux-build.eclass +++ b/eclass/linux-build.eclass @@ -242,38 +242,38 @@ _linux-build_src_prepare_build() { _linux-build_configval NET || ewarn "CONFIG_NET is needed for >=sys-fs/udev-210" if _linux-build_configval KERNEL_GZIP ; then - if ! has_version "app-arch/gzip" ; then + if ! has_version --host-root "app-arch/gzip" ; then die "app-arch/gzip is required for CONFIG_KERNEL_GZIP" fi elif _linux-build_configval KERNEL_BZIP2 ; then - if ! has_version "app-arch/bzip2" ; then + if ! has_version --host-root "app-arch/bzip2" ; then die "app-arch/bzip2 is required for CONFIG_KERNEL_BZIP2" fi elif _linux-build_configval KERNEL_LZMA ; then - if ! has_version "app-arch/lzma" ; then + if ! has_version --host-root "app-arch/lzma" ; then die "app-arch/lzma is required for CONFIG_KERNEL_LZMA" fi elif _linux-build_configval KERNEL_XZ; then - if ! has_version "app-arch/xz-utils" ; then + if ! has_version --host-root "app-arch/xz-utils" ; then die "app-arch/xz-utils is required for CONFIG_KERNEL_XZ" fi elif _linux-build_configval KERNEL_LZO ; then - if ! has_version "app-arch/lzop" ; then + if ! has_version --host-root "app-arch/lzop" ; then die "app-arch/lzop is required for CONFIG_KERNEL_LZO" fi elif _linux-build_configval KERNEL_LZ4 ; then - if ! has_version "app-arch/lz4" ; then + if ! has_version --host-root "app-arch/lz4" ; then die "app-arch/lz4 is required for CONFIG_KERNEL_LZ4" fi fi if _linux-build_configval MODULE_COMPRESS ; then if _linux-build_configval MODULE_COMPRESS_GZIP ; then - if ! has_version "app-arch/gzip" ; then + if ! has_version --host-root "app-arch/gzip" ; then die "app-arch/gzip is required for CONFIG_MODULE_COMPRESS_GZIP" fi elif _linux-build_configval MODULE_COMPRESS_XZ ; then - if ! has_version "app-arch/xz-utils" ; then + if ! has_version --host-root "app-arch/xz-utils" ; then die "app-arch/xz-utils is required for CONFIG_MODULE_COMPRESS_XZ" fi else @@ -282,7 +282,7 @@ _linux-build_src_prepare_build() { fi if _linux-build_configval MODULE_SIG ; then - if ! has_version "dev-libs/openssl" ; then + if ! has_version --host-root "dev-libs/openssl" ; then die "dev-libs/openssl is required for CONFIG_MODULE_SIG" fi |