From: Tom Rini Date: Fri, 16 Jul 2010 17:02:52 +0000 (-0700) Subject: lmbench: Fix builds by pulling in siteinfo stuff X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29e63e74ab78d8a69ac555a2223b8f4e1ac65304;p=openembedded.git 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 --- diff --git a/recipes/lmbench/lmbench_2.0.4.bb b/recipes/lmbench/lmbench_2.0.4.bb index ba96820463..fc6c7a13dc 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 cac96b474e..80f53a8a3f 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)