summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Danks <raymond@edanks.com>2006-04-18 01:24:13 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-18 01:24:13 +0000
commit15b614088cad23c1930a8d4069a05734661031dc (patch)
tree3ea7564b3e252d55541758e814c649c00b5fefab
parent1b249f1b07d11963da08276a742ee2f453b48a12 (diff)
cpuburn: initial add
-rw-r--r--packages/cpuburn/.mtn2git_empty0
-rw-r--r--packages/cpuburn/cpuburn/.mtn2git_empty0
-rw-r--r--packages/cpuburn/cpuburn/gcc_CC.patch19
-rw-r--r--packages/cpuburn/cpuburn_1.4.bb26
4 files changed, 45 insertions, 0 deletions
diff --git a/packages/cpuburn/.mtn2git_empty b/packages/cpuburn/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/cpuburn/.mtn2git_empty
diff --git a/packages/cpuburn/cpuburn/.mtn2git_empty b/packages/cpuburn/cpuburn/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/cpuburn/cpuburn/.mtn2git_empty
diff --git a/packages/cpuburn/cpuburn/gcc_CC.patch b/packages/cpuburn/cpuburn/gcc_CC.patch
new file mode 100644
index 0000000000..a572754eb0
--- /dev/null
+++ b/packages/cpuburn/cpuburn/gcc_CC.patch
@@ -0,0 +1,19 @@
+--- cpuburn-1.4/Makefile.orig 2006-03-09 16:11:53.368477664 -0700
++++ cpuburn-1.4/Makefile 2006-03-09 16:13:27.053235416 -0700
+@@ -1,3 +1,15 @@
++prefix=/usr/local
++
+ all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX
+ .S:
+- gcc -s -nostdlib -o $@ $<
++ ${CC} ${CFLAGS} -s -nostdlib -o $@ $<
++
++install:
++ install -d ${DESTDIR}${prefix}/bin
++ install -m 0755 burnP5 ${DESTDIR}${prefix}/bin
++ install -m 0755 burnP6 ${DESTDIR}${prefix}/bin
++ install -m 0755 burnK6 ${DESTDIR}${prefix}/bin
++ install -m 0755 burnK7 ${DESTDIR}${prefix}/bin
++ install -m 0755 burnBX ${DESTDIR}${prefix}/bin
++ install -m 0755 burnMMX ${DESTDIR}${prefix}/bin
++
diff --git a/packages/cpuburn/cpuburn_1.4.bb b/packages/cpuburn/cpuburn_1.4.bb
new file mode 100644
index 0000000000..cd43004aa7
--- /dev/null
+++ b/packages/cpuburn/cpuburn_1.4.bb
@@ -0,0 +1,26 @@
+# cpuburn OE build file
+# Copyright (C) 2006, Advanced Micro Devices, Inc. All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+
+DESCRIPTION="CPU testing utilities in optimized assembler for maximum loading P6, K7, K6, P5 chips"
+MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>"
+HOMEPAGE="http://pages.sbcglobal.net/redelm/"
+LICENSE="GNU"
+
+SRC_URI="http://pages.sbcglobal.net/redelm/${PN}_1_4_tar.gz \
+ file://gcc_CC.patch;patch=1"
+
+python do_unpack () {
+ bb.build.exec_func('base_do_unpack', d)
+ bb.build.exec_func('cpuburn_do_unpack', d)
+}
+
+cpuburn_do_unpack () {
+ tar xvf ${PN}_1_4_tar
+}
+
+do_install () {
+ oe_runmake install DESTDIR=${D}
+}
+
+