summaryrefslogtreecommitdiff
path: root/system/Config.in
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2015-01-23 17:12:13 +0100
committerPeter Korsgaard <peter@korsgaard.com>2015-01-23 17:35:43 +0100
commit14af550d5eb50222196ece3042d2f1e2a9466cf6 (patch)
tree0117148c9c2ef36403754fed6cd788a207719b0a /system/Config.in
parent818f5865e687e558b39643252d9c761da87b2cb9 (diff)
eudev: really bump version
The configure script checks for linux/btrfs.h which is only available since 3.9 (55e301fd57a6239ec: Btrfs: move fs/btrfs/ioctl.h to include/uapi/linux/btrfs.h). It now also uses static_assert which is only available since GCC 4.6, so handle it as well in the legacy patch. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'system/Config.in')
-rw-r--r--system/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/Config.in b/system/Config.in
index 4d7a4e3cc..e9f242853 100644
--- a/system/Config.in
+++ b/system/Config.in
@@ -129,12 +129,14 @@ config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
depends on BR2_USE_WCHAR
depends on !BR2_STATIC_LIBS
depends on BR2_USE_MMU # eudev
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
select BR2_PACKAGE_EUDEV
-comment "eudev needs a toolchain w/ largefile, wchar, dynamic library"
+comment "eudev needs a toolchain w/ largefile, wchar, dynamic library, headers >= 3.9"
depends on !BR2_avr32 # eudev
depends on BR2_USE_MMU
- depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
+ depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_STATIC_LIBS \
+ || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
endchoice