e2fsprogs: disable tls for now, if we are oabi and uclibc
authorwoglinde <heinold@inf.fu-berlin.de>
Fri, 3 Apr 2009 21:18:11 +0000 (23:18 +0200)
committerwoglinde <heinold@inf.fu-berlin.de>
Fri, 3 Apr 2009 21:20:14 +0000 (23:20 +0200)
* make comment for uclibc nptl

recipes/e2fsprogs/e2fsprogs.inc

index eb09447..b7a1223 100644 (file)
@@ -9,6 +9,9 @@ S = "${WORKDIR}/e2fsprogs-${PV}"
 
 inherit autotools
 
-EXTRA_OECONF = "--enable-dynamic-e2fsck --disable-nls --sbindir=${base_sbindir}"
+#if uclibc ntpl is merged into trunk we can enable tls for armv4 again
+EXTRA_OECONF = "${@['','--disable-tls'][bb.data.getVar('ARM_ABI', d, 1) == 'oabi' and \
+               bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 ]} \
+               --enable-dynamic-e2fsck --disable-nls --sbindir=${base_sbindir}"
 
 PARALLEL_MAKE = ""