diff options
author | Maxime Hadjinlian <maxime.hadjinlian@gmail.com> | 2014-10-05 21:47:52 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-10-05 23:08:19 +0200 |
commit | f25a672f2df90917f935b069d0cb2417d457d510 (patch) | |
tree | 488f6c2ed47a9cb36eb25100108a3ce18f41d2b9 | |
parent | baf81e922a4e7d47f7ad1d22388c9da36b4b9a86 (diff) |
libbsd: enable package on ARM
Rework the architecture dependency by adding a
BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS blind option.
[Thomas: slightly reword commit log.]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/libbsd/Config.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/package/libbsd/Config.in b/package/libbsd/Config.in index e22226a09..d521f0544 100644 --- a/package/libbsd/Config.in +++ b/package/libbsd/Config.in @@ -1,8 +1,13 @@ +config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS + bool + # libbsd requires a.out.h, which is only available for those + # architectures: arm, x86 (and alpha, currently not supported in Buildroot; + # also m68k which is currently not enabled, so can't be tested.) + default y if BR2_arm || BR2_i386 || BR2_x86_64 + config BR2_PACKAGE_LIBBSD bool "libbsd" - # libbsd requires a.out.h, which is only available for those - # architectures: arm, m68k, x86 (and alpha, but we don't care.) - depends on ( BR2_i386 || BR2_x86_64 ) + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_USES_GLIBC help @@ -15,5 +20,5 @@ config BR2_PACKAGE_LIBBSD http://libbsd.freedesktop.org/ comment "libbsd needs an (e)glibc toolchain w/ threads" - depends on ( BR2_i386 || BR2_x86_64 ) + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC |