aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-03-29 19:50:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-13 22:28:32 +0100
commite1193feb30fbbfacb430ccbb9f33cd782f7cb87d (patch)
tree11abb7241c71ca7066385c07c5a17af1afb50564 /meta/recipes-bsp
parenta7fca64d04949e76805e7acc3f617a1cd4a107a7 (diff)
downloadopenembedded-core-contrib-e1193feb30fbbfacb430ccbb9f33cd782f7cb87d.tar.gz
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@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/pcmciautils/pcmciautils-018/Makefile-fix-for-parallel-build.patch10
1 files 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 e9eaab780dc..c9a7ada4084 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@windriver.com>
@@ -18,14 +22,16 @@ Signed-off-by: Robert Yang <liezhi.yang@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) $<