Patchwork [PATCHv2] quota: select BR2_PACKAGE_UTIL_LINUX_BINARIES

login
register
mail settings
Submitter Gustavo Zacarias
Date March 24, 2013, 12:20 p.m.
Message ID <1364127607-29027-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/230439/
State Accepted
Commit 0be9ece5e75d6eeff06f3c8f395dcbb4ef95a16c
Headers show

Comments

Gustavo Zacarias - March 24, 2013, 12:20 p.m.
All of the util-linux tools options depend on
BR2_PACKAGE_UTIL_LINUX_BINARIES that select all the required util-linux
libraries and enable the tools build process.
So basically quota is selecting a hidden/unavailable option and
triggering a util-linux build failure. Fixes:
http://autobuild.buildroot.net/results/bc3c75e7c60fe6db54ea56dd7c398ba7878bff83/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
v2: Better explain why, and also add microblaze depend from util-linux

 package/quota/Config.in | 2 ++
 1 file changed, 2 insertions(+)
Peter Korsgaard - March 24, 2013, 1:03 p.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> All of the util-linux tools options depend on
 Gustavo> BR2_PACKAGE_UTIL_LINUX_BINARIES that select all the required util-linux
 Gustavo> libraries and enable the tools build process.
 Gustavo> So basically quota is selecting a hidden/unavailable option and
 Gustavo> triggering a util-linux build failure. Fixes:
 Gustavo> http://autobuild.buildroot.net/results/bc3c75e7c60fe6db54ea56dd7c398ba7878bff83/

Committed, thanks.

Patch

diff --git a/package/quota/Config.in b/package/quota/Config.in
index f6341d3..5127a9a 100644
--- a/package/quota/Config.in
+++ b/package/quota/Config.in
@@ -3,7 +3,9 @@  config BR2_PACKAGE_QUOTA
 	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR
 	depends on BR2_USE_MMU # fork()
+	depends on !(BR2_microblazeel || BR2_microblazebe) # util-linux
 	select BR2_PACKAGE_UTIL_LINUX
+	select BR2_PACKAGE_UTIL_LINUX_BINARIES
 	select BR2_PACKAGE_UTIL_LINUX_MOUNT
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC