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 <[email protected]>
---
 ...kefile-add-more-dependencies-to-pointer.h.patch | 23 ++++++++++++++++++++++
 .../nbench-byte/nbench-byte_2.2.3.bb               |  3 ++-
 2 files changed, 25 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-benchmark/nbench-byte/nbench-byte/Makefile-add-more-dependencies-to-pointer.h.patch

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 0000000..abdb434
--- /dev/null
+++ 
b/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 <[email protected]>
+---
+ 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-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 37f3e46..addb2d2 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
 SECTION = "console/utils"
 
 SRC_URI = "http://www.tux.org/~mayer/linux/${PN}-${PV}.tar.gz \
-           file://nbench_32bits.patch"
+           file://nbench_32bits.patch \
+           file://Makefile-add-more-dependencies-to-pointer.h.patch"
 
 SRC_URI[md5sum] = "285dfab361080759d477ea1fe7d3093a"
 SRC_URI[sha256sum] = 
"723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac"
-- 
2.0.0.rc4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to