[oe-commits] Tom Rini : lmbench: Fix builds by pulling in siteinfo stuff

git version control git at git.openembedded.org
Fri Jul 16 17:03:55 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 29e63e74ab78d8a69ac555a2223b8f4e1ac65304
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=29e63e74ab78d8a69ac555a2223b8f4e1ac65304

Author: Tom Rini <tom_rini at mentor.com>
Date:   Fri Jul 16 10:02:52 2010 -0700

lmbench: Fix builds by pulling in siteinfo stuff

At some point an automatic import of autotools.bbclass was removed.
Since we only need CONFIG_SITEINFO, inherit siteinfo and set the variable
so we're back to where we were.

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/lmbench/lmbench_2.0.4.bb |    6 ++++++
 recipes/lmbench/lmbench_2.5.bb   |    6 ++++++
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/recipes/lmbench/lmbench_2.0.4.bb b/recipes/lmbench/lmbench_2.0.4.bb
index ba96820..fc6c7a1 100644
--- a/recipes/lmbench/lmbench_2.0.4.bb
+++ b/recipes/lmbench/lmbench_2.0.4.bb
@@ -14,6 +14,12 @@ EXTRA_OEMAKE = '"CC=${CC}" "AR=${AR}" "CFLAGS=$CFLAGS" \
 		"LDFLAGS=${LDFLAGS}" "LD=${LD}" "OS=${TARGET_SYS}" \
 		"TARGET=${TARGET_OS}" "O=${S}/bin/${TARGET_SYS}"'
 
+
+inherit siteinfo
+
+# Space separated list of shell scripts with variables defined to supply test
+# results for autoconf tests we cannot run at build time.
+export CONFIG_SITE = "${@siteinfo_get_files(d)}"
 python do_unpack () {
 	bb.build.exec_func('base_do_unpack', d)
 	bb.build.exec_func('byebk_do_unpack', d)
diff --git a/recipes/lmbench/lmbench_2.5.bb b/recipes/lmbench/lmbench_2.5.bb
index cac96b4..80f53a8 100644
--- a/recipes/lmbench/lmbench_2.5.bb
+++ b/recipes/lmbench/lmbench_2.5.bb
@@ -13,6 +13,12 @@ EXTRA_OEMAKE = 'CC="${CC}" AR="${AR}" CFLAGS="${CFLAGS}" \
 		LDFLAGS="${LDFLAGS}" LD="${LD}" OS="${TARGET_SYS}" \
 		TARGET="${TARGET_OS}" BASE="${prefix}"'
 
+
+inherit siteinfo
+
+# Space separated list of shell scripts with variables defined to supply test
+# results for autoconf tests we cannot run at build time.
+export CONFIG_SITE = "${@siteinfo_get_files(d)}"
 python do_unpack () {
 	bb.build.exec_func('base_do_unpack', d)
 	bb.build.exec_func('byebk_do_unpack', d)





More information about the Openembedded-commits mailing list