[oe-commits] Robert Yang : pcmciautils: fix for parallel build

git at git.openembedded.org git at git.openembedded.org
Sat Apr 11 22:34:05 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 6f7974e7e584a8eadf68ff11e6ebcfbac1bbecc3
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6f7974e7e584a8eadf68ff11e6ebcfbac1bbecc3

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Sun Mar 29 19:50:44 2015 -0700

pcmciautils: fix for parallel build

Fixed:
Compiling lex_config.c.
  src/lex_config.l:34:25: fatal error: yacc_config.h: No such file or directory

There was a patch for fixing the paralle issue before, so modify the
patch again.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../pcmciautils-018/Makefile-fix-for-parallel-build.patch      | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-bsp/pcmciautils/pcmciautils-018/Makefile-fix-for-parallel-build.patch b/meta/recipes-bsp/pcmciautils/pcmciautils-018/Makefile-fix-for-parallel-build.patch
index e9eaab7..c9a7ada 100644
--- a/meta/recipes-bsp/pcmciautils/pcmciautils-018/Makefile-fix-for-parallel-build.patch
+++ b/meta/recipes-bsp/pcmciautils/pcmciautils-018/Makefile-fix-for-parallel-build.patch
@@ -10,6 +10,10 @@ Fixed:
 |                            ^
 |   compilation terminated.
 
+And:
+Compiling lex_config.c.
+  src/lex_config.l:34:25: fatal error: yacc_config.h: No such file or directory
+
 Upstream-Status: Pending
 
 Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
@@ -18,14 +22,16 @@ Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/Makefile b/Makefile
-index d45fdc3..de2a5f9 100644
+index d45fdc3..d4ffd7e 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -246,7 +246,7 @@ $(PCMCIA_SOCKET_STARTUP): $(LIBC) src/startup.o src/yacc_config.o src/lex_config
+@@ -246,7 +246,9 @@ $(PCMCIA_SOCKET_STARTUP): $(LIBC) src/startup.o src/yacc_config.o src/lex_config
  	$(QUIET) $(LD) $(LDFLAGS) -o $@ $(CRT0) src/startup.o src/yacc_config.o src/lex_config.o $(LIB_OBJS) $(ARCH_LIB_OBJS)
  	$(QUIET) $(STRIPCMD) $@
  
 -yacc_config.o lex_config.o: %.o: %.c
++lex_config.o: yacc_config.h
++
 +yacc_config.o lex_config.o: %.o: %.c: %.h
  	$(CC) -c -MD -O -pipe $(CPPFLAGS) $<
  



More information about the Openembedded-commits mailing list