[Buildroot] [git commit] flex: propagate m4 dependency on wchar

Peter Korsgaard jacmet at sunsite.dk
Tue May 28 21:39:55 UTC 2013


commit: http://git.buildroot.net/buildroot/commit/?id=c0d30d4c94047ab29db021a921dc3762e81ac5e7
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Commit fe6a9e5e9d4046173a60235f8fd9a3b4746929c6 missed the fact that
m4 has a dependency on wide char support, so this dependency should be
propagated to flex.

Fixes:

  http://autobuild.buildroot.org/results/495/49502b2e33a346b2fcebf5e2da00af2661b54d6e/build-end.log

[Peter: Note where wchar dep comes from, show comment if not available]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/flex/Config.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/package/flex/Config.in b/package/flex/Config.in
index 1ecd0c3..4fbc56c 100644
--- a/package/flex/Config.in
+++ b/package/flex/Config.in
@@ -14,5 +14,9 @@ config BR2_PACKAGE_FLEX_BINARY
 	depends on BR2_PACKAGE_FLEX
 	# runtime dependency
 	select BR2_PACKAGE_M4
+	depends on BR2_USE_WCHAR # m4
 	help
 	  Install the flex binary tool in the target filesystem.
+
+comment "flex binary requires a toolchain with WCHAR support"
+	depends on !BR2_USE_WCHAR


More information about the buildroot mailing list