lmbench: Fix builds by pulling in siteinfo stuff
authorTom Rini <tom_rini@mentor.com>
Fri, 16 Jul 2010 17:02:52 +0000 (10:02 -0700)
committerTom Rini <tom_rini@mentor.com>
Fri, 16 Jul 2010 17:02:52 +0000 (10:02 -0700)
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@mentor.com>
recipes/lmbench/lmbench_2.0.4.bb
recipes/lmbench/lmbench_2.5.bb

index ba96820..fc6c7a1 100644 (file)
@@ -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)
index cac96b4..80f53a8 100644 (file)
@@ -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)