summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-02-19 12:28:02 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2013-02-19 12:28:02 +0100
commitc17096720edaea39219916f40244a3253101c7a7 (patch)
treeff05d9140f183aa1fa1bc2248ec4f69a8adb8630
parent192efcdaeb58cdb5c0e82d6f6d34c069af1a7f82 (diff)
downloadbuildroot-novena-c17096720edaea39219916f40244a3253101c7a7.tar.gz
buildroot-novena-c17096720edaea39219916f40244a3253101c7a7.zip
libglib2: fix build with binary microblaze toolchains
The toolchains don't have qsort_r or working inotify, so disable those. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/libglib2/libglib2.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk
index a3684327f..278e6355b 100644
--- a/package/libglib2/libglib2.mk
+++ b/package/libglib2/libglib2.mk
@@ -45,12 +45,17 @@ LIBGLIB2_CONF_ENV = \
gt_cv_c_wchar_t=$(if $(BR2_USE_WCHAR),yes,no)
# old uClibc versions don't provide qsort_r
-ifeq ($(BR2_UCLIBC_VERSION_0_9_31)$(BR2_UCLIBC_VERSION_0_9_32)$(BR2_TOOLCHAIN_CTNG_uClibc)$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y)
+ifeq ($(BR2_UCLIBC_VERSION_0_9_31)$(BR2_UCLIBC_VERSION_0_9_32)$(BR2_TOOLCHAIN_CTNG_uClibc)$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC)$(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2)$(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2),y)
LIBGLIB2_CONF_ENV += glib_cv_have_qsort_r=no
else
LIBGLIB2_CONF_ENV += glib_cv_have_qsort_r=yes
endif
+# old toolchains don't have working inotify support
+ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2)$(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2),y)
+LIBGLIB2_CONF_ENV += ac_cv_header_sys_inotify_h=no
+endif
+
HOST_LIBGLIB2_CONF_OPT = \
--disable-gtk-doc \
--enable-debug=no \