From eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Tue, 14 Aug 2018 10:05:37 -0700 Subject: [Subtree] Removing import-layers directory As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- ...kefile-add-more-dependencies-to-pointer.h.patch | 23 +++++++++++ .../nbench-byte/nbench-byte/nbench_32bits.patch | 46 ++++++++++++++++++++++ .../nbench-byte/nbench-byte_2.2.3.bb | 28 +++++++++++++ 3 files changed, 97 insertions(+) create mode 100644 meta-openembedded/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/Makefile-add-more-dependencies-to-pointer.h.patch create mode 100644 meta-openembedded/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/nbench_32bits.patch create mode 100644 meta-openembedded/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb (limited to 'meta-openembedded/meta-oe/recipes-benchmark/nbench-byte') diff --git a/meta-openembedded/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/Makefile-add-more-dependencies-to-pointer.h.patch b/meta-openembedded/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/Makefile-add-more-dependencies-to-pointer.h.patch new file mode 100644 index 000000000..abdb4344b --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/Makefile-add-more-dependencies-to-pointer.h.patch @@ -0,0 +1,23 @@ +Makefile: add more dependencies to pointer.h + +Upstream-Status: Inappropriate [no upstream] + +Signed-off-by: Otavio Salvador +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 915866d..edd9ea2 100644 +--- a/Makefile ++++ b/Makefile +@@ -122,7 +122,7 @@ emfloat.o: emfloat.h emfloat.c nmglobal.h pointer.h Makefile + pointer.h: Makefile + touch pointer.h ; + +-misc.o: misc.h misc.c Makefile ++misc.o: misc.h misc.c nmglobal.h pointer.h Makefile + $(CC) $(MACHINE) $(DEFINES) $(CFLAGS)\ + -c misc.c + + diff --git a/meta-openembedded/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/nbench_32bits.patch b/meta-openembedded/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/nbench_32bits.patch new file mode 100644 index 000000000..1b8a4dc08 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/nbench_32bits.patch @@ -0,0 +1,46 @@ +From 81f4043a6787060029ef20eed21cdcf3e50337df Mon Sep 17 00:00:00 2001 +From: Chase Maupin +Date: Tue, 28 Feb 2012 14:58:35 -0600 +Subject: [PATCH] nbench: modify Makefile for 32bit + +* Patch taken from OE classic git repository as of commit id + ad42bf9065928b2902d7d9534709d3ccea7ec956 and was added by: + * Marcin Juszkiewicz +* Notes from original patch were: + +BYTE Magazine's native benchmarks (also called BYTEmark) designed to +expose the capabilities of a system's CPU, FPU and memory system. + +http://www.tux.org/~mayer/linux/ + +Recipe from old Atmel overlay. + +Upstream-Status: Inappropriate [no upstream] + +Signed-off-by: Chase Maupin +--- + Makefile | 8 ++------ + 1 files changed, 2 insertions(+), 6 deletions(-) + +diff --git a/Makefile b/Makefile +index 5045c77..915866d 100644 +--- a/Makefile ++++ b/Makefile +@@ -119,12 +119,8 @@ emfloat.o: emfloat.h emfloat.c nmglobal.h pointer.h Makefile + $(CC) $(MACHINE) $(DEFINES) $(CFLAGS)\ + -c emfloat.c + +-pointer.h: pointer Makefile +- $(CC) $(MACHINE) $(DEFINES) $(CFLAGS)\ +- -o pointer pointer.c +- rm -f pointer.h +- if [ "4" = `./pointer` ] ; then touch pointer.h ;\ +- else echo "#define LONG64" >pointer.h ; fi ++pointer.h: Makefile ++ touch pointer.h ; + + misc.o: misc.h misc.c Makefile + $(CC) $(MACHINE) $(DEFINES) $(CFLAGS)\ +-- +1.7.0.4 + diff --git a/meta-openembedded/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb b/meta-openembedded/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb new file mode 100644 index 000000000..da2cb4b32 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb @@ -0,0 +1,28 @@ +SUMMARY = "A CPU benchmark utility" +DESCRIPTION = "BYTE Magazine's native benchmarks (also called BYTEmark) \ +designed to expose the capabilities of a system's CPU, FPU, \ +and memory system." +HOMEPAGE = "http://www.tux.org/~mayer/linux/" +LICENSE = "nbench-byte" +LIC_FILES_CHKSUM = "file://README;beginline=57;endline=66;md5=020ef579f8fa5746b7e307a54707834f" +SECTION = "console/utils" + +SRC_URI = "https://fossies.org/linux/misc/${BP}.tar.gz \ + file://nbench_32bits.patch \ + file://Makefile-add-more-dependencies-to-pointer.h.patch" + +SRC_URI[md5sum] = "285dfab361080759d477ea1fe7d3093a" +SRC_URI[sha256sum] = "723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac" + +EXTRA_OEMAKE = "-e MAKEFLAGS=" + +TARGET_CC_ARCH += "${CFLAGS} ${LDFLAGS}" +do_compile() { + oe_runmake +} + +do_install () { + install -d ${D}${bindir} + install -m 0644 NNET.DAT ${D}${bindir}/ + install -m 0755 nbench ${D}${bindir}/ +} -- cgit v1.2.3