diff mbox

flex: propagate m4 dependency on wchar

Message ID 1369776420-4492-1-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Headers show

Commit Message

Thomas Petazzoni May 28, 2013, 9:27 p.m. UTC
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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/flex/Config.in |    1 +
 1 file changed, 1 insertion(+)

Comments

Peter Korsgaard May 28, 2013, 9:39 p.m. UTC | #1
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

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

 Thomas> Fixes:

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

 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 Thomas> ---
 Thomas>  package/flex/Config.in |    1 +
 Thomas>  1 file changed, 1 insertion(+)

 Thomas> diff --git a/package/flex/Config.in b/package/flex/Config.in
 Thomas> index 1ecd0c3..45e3bac 100644
 Thomas> --- a/package/flex/Config.in
 Thomas> +++ b/package/flex/Config.in
 Thomas> @@ -14,5 +14,6 @@ config BR2_PACKAGE_FLEX_BINARY
 Thomas>  	depends on BR2_PACKAGE_FLEX
 Thomas>  	# runtime dependency
 Thomas>  	select BR2_PACKAGE_M4
 Thomas> +	depends on BR2_USE_WCHAR

It would be good with a '# m4' comment.

 Thomas>  	help
 Thomas>  	  Install the flex binary tool in the target filesystem.

We should also show a comment explaining the dependency if not
available.

Committed with that fixed, thanks.
diff mbox

Patch

diff --git a/package/flex/Config.in b/package/flex/Config.in
index 1ecd0c3..45e3bac 100644
--- a/package/flex/Config.in
+++ b/package/flex/Config.in
@@ -14,5 +14,6 @@  config BR2_PACKAGE_FLEX_BINARY
 	depends on BR2_PACKAGE_FLEX
 	# runtime dependency
 	select BR2_PACKAGE_M4
+	depends on BR2_USE_WCHAR
 	help
 	  Install the flex binary tool in the target filesystem.