aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libbsd/Config.in3
-rw-r--r--package/libedit/Config.in1
2 files changed, 4 insertions, 0 deletions
diff --git a/package/libbsd/Config.in b/package/libbsd/Config.in
index 0ed9dac9af..915a4bd98b 100644
--- a/package/libbsd/Config.in
+++ b/package/libbsd/Config.in
@@ -1,5 +1,8 @@
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_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 )
help
This library provides useful functions commonly found on BSD
systems, and lacking on others like GNU systems, thus making
diff --git a/package/libedit/Config.in b/package/libedit/Config.in
index b49c23cadd..34160f4d2f 100644
--- a/package/libedit/Config.in
+++ b/package/libedit/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBEDIT
bool "libedit"
+ depends on ( BR2_arm || BR2_armeb || BR2_m68k || BR2_i386 || BR2_x86_64 ) # libbsd
select BR2_PACKAGE_LIBBSD
select BR2_PACKAGE_NCURSES
help