summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2017-03-31 22:26:04 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-15 12:00:09 +0200
commite87644cb2abb78c5bf3bd0c3c6955c202e798ef2 (patch)
tree3dae2c50aaee0829ad1d488393dd99accd43a0bb
parentfcc8e762417ab80a7e837c7014a230bc40c1fbf9 (diff)
downloadbuildroot-e87644cb2abb78c5bf3bd0c3c6955c202e798ef2.tar.gz
buildroot-e87644cb2abb78c5bf3bd0c3c6955c202e798ef2.zip
package/xenomai: disable obstack support
Obstack support in Xenomai is broken when the libc doesn't support obstack support itself. Make sure we disable obstack support for all libc since it was removed in uClibc-ng since 1.0.21 release and it's always disabled with Glibc. Fixes: http://autobuild.buildroot.net/results/555/555d9cb9cb59fad6353516bed206e1117974e8cd/build-end.log Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Pawel Sikora <sikor6@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/xenomai/xenomai.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk
index bd147a9ec6..4ae045af09 100644
--- a/package/xenomai/xenomai.mk
+++ b/package/xenomai/xenomai.mk
@@ -35,6 +35,12 @@ else
XENOMAI_CONF_OPTS += --disable-smp
endif
+# Obstack support in Xenomai is broken when the libc doesn't support
+# obstack support itself. Make sure we disable obstack support for all
+# libc since it was removed in uClibc-ng since 1.0.21 release and it's
+# always disabled with Glibc.
+XENOMAI_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -DELIDE_CODE"
+
define XENOMAI_REMOVE_DEVFILES
for i in xeno-config xeno-info wrap-link.sh ; do \
rm -f $(TARGET_DIR)/usr/bin/$$i ; \
OpenPOWER on IntegriCloud