lmbench: fix build
authorKoen Kooi <koen@openembedded.org>
Wed, 11 Aug 2010 13:47:18 +0000 (15:47 +0200)
committerKoen Kooi <koen@openembedded.org>
Wed, 11 Aug 2010 13:47:58 +0000 (15:47 +0200)
recipes/lmbench/lmbench_2.5.bb

index 80f53a8..de7fc48 100644 (file)
@@ -2,7 +2,10 @@ SECTION = "console/utils"
 DESCRIPTION = "Tools for performance analysis."
 LICENSE = "GPL"
 RDEPENDS_${PN} = "debianutils"
-PR = "r2"
+
+PR = "r3"
+
+inherit autotools
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \
           file://build.patch \
@@ -14,11 +17,6 @@ EXTRA_OEMAKE = 'CC="${CC}" AR="${AR}" CFLAGS="${CFLAGS}" \
                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)
@@ -28,6 +26,10 @@ byebk_do_unpack () {
        find ${S}/.. -name BitKeeper -o -name SCCS | xargs rm -rf
 }
 
+do_configure() {
+       :
+}
+
 do_compile () {
        . ${CONFIG_SITE}
        if [ X"$ac_cv_uint" == X"yes" ]; then