Skip to contentSkip to conversation

package/libbsd: depends on architectures providing a.out.h

PATCH New Yann E. MORIN 2 participants 2 messages Jun 6, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/libbsd: depends on architectures providing a.out.h

From: "Yann E. MORIN" <[email protected]>

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
    [...]
Cc Thomas Petazzoni <[email protected]>
Cc Gustavo Zacarias <[email protected]>

---
Changes v1 -> v2:
- propagate dependencies down to libedit, instead of changes 'select' into 'depends on' (Peter)

---
 package/libbsd/Config.in  | 3 +++
 package/libedit/Config.in | 1 +
 2 files changed, 4 insertions(+)
package/libbsd/Config.in +3 -0
index 0ed9dac..915a4bd 100644
@@ -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
package/libedit/Config.in +1 -0
index b49c23c..34160f4 100644
@@ -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
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH v2 1/1 package/libbsd: depends on architectures providing a.out.h

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Yann> From: "Yann E. MORIN" <[email protected]>
Yann> libbsd requires a.out.h, which is only available in a select subset Yann> of the architectures Buildroot supports.

Yann> Propagate these new dependencies down to libedit.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard