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>
This commit is contained in:
Otavio Salvador 2014-06-04 20:09:39 -03:00 committed by Martin Jansa
parent 9ee63edfd9
commit 7a35bc7d6e
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,23 @@
Makefile: add more dependencies to pointer.h
Upstream-Status: Inappropriate [no upstream]
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
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

View File

@ -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"