[Buildroot] [PATCH] util-linux: re-enable libmount and binaries on Microblaze

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Nov 10 19:45:41 UTC 2014


In commit 442aa88f95d6c4a921aa3d4de91f54d50bd0cd35 ("util-linux: bump
version and revamp options"), Gustavo disabled util-linux libmount and
binaries on microblaze, as it was not building properly.

However, as mentionned in the comment, these options were disabled on
Microblaze due to "libc lacks UTIME_NOW & UTIME_COMMIT for
libmount". This was true specifically for the microblaze external
toolchain that we were using at the time. But we are no longer using
this external toolchain (which proved to be broken in many ways), and
have microblaze support in our internal backend.

I have verified that with our internal toolchain, util-linux with
libmount and the binaries enabled builds fine.

Those options are not selected by anything else in Buildroot, so
there's no other package impacted by this dependency change.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/util-linux/Config.in | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index 934021a..07e1fbb 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -21,8 +21,6 @@ config BR2_PACKAGE_UTIL_LINUX_LIBBLKID
 
 config BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
 	select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
-	# libc lacks UTIME_NOW & UTIME_COMMIT
-	depends on !(BR2_microblazeel || BR2_microblazebe)
 	depends on BR2_USE_MMU # util-linux/libblkid
 	bool "libmount"
 	help
@@ -36,8 +34,6 @@ config BR2_PACKAGE_UTIL_LINUX_LIBUUID
 config BR2_PACKAGE_UTIL_LINUX_BINARIES
 	bool "install utilities"
 	depends on BR2_USE_MMU # fork()
-	# libc lacks UTIME_NOW & UTIME_COMMIT for libmount
-	depends on !(BR2_microblazeel || BR2_microblazebe)
 	select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
 	select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
 	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
-- 
2.0.0




More information about the buildroot mailing list