linux-info.eclass: Skip linux_config_*_exists on non-Linux
authorMichał Górny <mgorny@gentoo.org>
Thu, 8 Mar 2018 16:26:09 +0000 (17:26 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 9 Jul 2018 16:54:47 +0000 (18:54 +0200)
commit347a16aeb2fbf8872ae0c2a4e9ce8d61ed000796
tree030ab8afd4474219bebcda257293229a30c98fe0
parent9e7c4b6d2daa9a8b1c33154f8dd296a2d1a26e92
linux-info.eclass: Skip linux_config_*_exists on non-Linux

The linux_config_src_exists and linux_config_bin_exists always return
false on non-Linux systems by design. Short-circuit it via
'kernel_linux' check.
eclass/linux-info.eclass