package/libbsd: depends on architectures providing a.out.h
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 5 Jun 2013 21:07:55 +0000 (21:07 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 6 Jun 2013 07:35:22 +0000 (09:35 +0200)
libbsd requires a.out.h, which is only available in a select subset
of the architectures Buildroot supports.

Propagate these new dependencies down to libedit.

Fixes:
    http://autobuild.buildroot.org/results/019/019091312ec547520370ffad967b53e23f54a14b
    http://autobuild.buildroot.org/results/87c/87c3a8bf2248606d80ddcfd96132de4c5fe869ed
    http://autobuild.buildroot.org/results/589/5891f539ce3f3ff2e3411228472c8833fdd0d7c0
    [...]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libbsd/Config.in
package/libedit/Config.in

index 0ed9dac9af15c184375e1cdf9c902cd3c928bd74..915a4bd98b7a65a3a8a9d25a49031f61e0a7338c 100644 (file)
@@ -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
index b49c23caddfd15bf706f3446dc2de69f75a004e5..34160f4d2f938c7004228367b5af5b71e817f030 100644 (file)
@@ -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