From patchwork Fri Mar 1 09:50:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [OE-core] lmbench: update config script Date: Fri, 01 Mar 2013 09:50:42 -0000 From: chunrong guo X-Patchwork-Id: 45353 Message-Id: <1362131442-26879-1-git-send-email-B40290@freescale.com> To: Cc: B29882@freescale.com, Chunrong Guo , B19537@freescale.com From: Chunrong Guo *fix bug that can not find CONFIG file |error: run ./results|./results: line 15: .: CONFIG.p2041rdb: file not found * update CONFIG file path Signed-off-by: Chunrong Guo --- .../lmbench-3.0-a9/update-config-script.patch | 12 ++++++++++++ .../recipes-benchmark/lmbench/lmbench_3.0-a9.bb | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/update-config-script.patch diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/update-config-script.patch b/meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/update-config-script.patch new file mode 100644 index 0000000..b46e09a --- /dev/null +++ b/meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/update-config-script.patch @@ -0,0 +1,12 @@ +Upstream-Status: Pending +Index: lmbench-3.0-a9/scripts/config +=================================================================== +--- lmbench-3.0-a9/scripts/config 2000-01-31 18:29:31.000000000 -0600 ++++ lmbench-3.0-a9/scripts/config 2013-03-01 00:19:41.032984315 -0600 +@@ -3,5 +3,5 @@ + UNAME=`uname -n 2>/dev/null` + if [ X$UNAME = X ] + then echo CONFIG +-else echo CONFIG.$UNAME ++else echo ../scripts/CONFIG.$UNAME + fi diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb index 611013e..026b067 100644 --- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb @@ -7,14 +7,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \ inherit autotools -PR = "r1" +PR = "r2" SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \ file://lmbench-run \ file://rename-line-binary.patch \ file://update-results-script.patch \ file://obey-ranlib.patch \ - " + file://update-config-script.patch \ + " SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf" SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"