ltp: Add additional m4 path to autoconf.
authorRandy Witt <randy.e.witt@linux.intel.com>
Mon, 29 Sep 2014 17:08:47 +0000 (10:08 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Sep 2014 13:31:55 +0000 (14:31 +0100)
The ltp code has some m4 macros that are deeper than the default depth
that the directory depth the autotools.bbclass checks. This causes some
macros to not be found and for supported features to not be enabled.

This patch adds the extra m4 path to the autoconf arguments.

(From OE-Core rev: 4d8fa4b7a02d1d53f75943607df7e8126e6dbeb8)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/ltp/ltp_20140422.bb

index a8a2e50..bb89d85 100644 (file)
@@ -40,6 +40,7 @@ export prefix = "/opt/ltp"
 export exec_prefix = "/opt/ltp"
 
 PACKAGECONFIG[numa] = "--with-numa, --without-numa, numactl,"
+EXTRA_AUTORECONF += "-I ${S}/testcases/realtime/m4"
 EXTRA_OECONF = " --with-power-management-testsuite --with-realtime-testsuite "
 
 # ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure call.