diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-06-04 20:09:39 -0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-06-13 13:38:10 +0200 |
commit | 75ca64e5917d0177c48f58f631497a05e2773731 (patch) | |
tree | 8de2180d04046b2eba709edad08c0bf0433be252 /meta-oe/recipes-benchmark | |
parent | 0c8de928a293e17f7d562fe0dd4b1a8966f1bba2 (diff) | |
download | meta-openembedded-75ca64e5917d0177c48f58f631497a05e2773731.tar.gz |
nbench-byte: Fix parallel building error
This extends the dependencies on pointer.h to fix following error:
| ./sysinfo.sh arm-poky-linux-gnueabi-gcc ...
| In file included from misc.h:36:0,
| from misc.c:23:
| nmglobal.h:29:21: fatal error: pointer.h: No such file or directory
| #include "pointer.h"
| ^
| compilation terminated.
| make: *** [misc.o] Error 1
| make: *** Waiting for unfinished jobs....
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark')
-rw-r--r-- | meta-oe/recipes-benchmark/nbench-byte/nbench-byte/Makefile-add-more-dependencies-to-pointer.h.patch | 23 | ||||
-rw-r--r-- | meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb | 3 |
2 files changed, 25 insertions, 1 deletions
diff --git a/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/Makefile-add-more-dependencies-to-pointer.h.patch b/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-oe/recipes-benchmark/nbench-byte/nbench-byte/Makefile-add-more-dependencies-to-pointer.h.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Makefile: add more dependencies to pointer.h | ||
2 | |||
3 | Upstream-Status: Inappropriate [no upstream] | ||
4 | |||
5 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
6 | --- | ||
7 | Makefile | 2 +- | ||
8 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
9 | |||
10 | diff --git a/Makefile b/Makefile | ||
11 | index 915866d..edd9ea2 100644 | ||
12 | --- a/Makefile | ||
13 | +++ b/Makefile | ||
14 | @@ -122,7 +122,7 @@ emfloat.o: emfloat.h emfloat.c nmglobal.h pointer.h Makefile | ||
15 | pointer.h: Makefile | ||
16 | touch pointer.h ; | ||
17 | |||
18 | -misc.o: misc.h misc.c Makefile | ||
19 | +misc.o: misc.h misc.c nmglobal.h pointer.h Makefile | ||
20 | $(CC) $(MACHINE) $(DEFINES) $(CFLAGS)\ | ||
21 | -c misc.c | ||
22 | |||
23 | |||
diff --git a/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb b/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb index 37f3e46a7..addb2d27f 100644 --- a/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb +++ b/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb | |||
@@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://README;beginline=57;endline=66;md5=020ef579f8fa5746b7 | |||
7 | SECTION = "console/utils" | 7 | SECTION = "console/utils" |
8 | 8 | ||
9 | SRC_URI = "http://www.tux.org/~mayer/linux/${PN}-${PV}.tar.gz \ | 9 | SRC_URI = "http://www.tux.org/~mayer/linux/${PN}-${PV}.tar.gz \ |
10 | file://nbench_32bits.patch" | 10 | file://nbench_32bits.patch \ |
11 | file://Makefile-add-more-dependencies-to-pointer.h.patch" | ||
11 | 12 | ||
12 | SRC_URI[md5sum] = "285dfab361080759d477ea1fe7d3093a" | 13 | SRC_URI[md5sum] = "285dfab361080759d477ea1fe7d3093a" |
13 | SRC_URI[sha256sum] = "723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac" | 14 | SRC_URI[sha256sum] = "723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac" |