summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/pcmciautils/pcmciautils-018
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-04-28 22:29:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-30 23:04:16 +0100
commit462a873cd3fe9fce5a30f48abf0d5192fe94b6d9 (patch)
tree9c45d7c7cd513608925d9dadcf75eaa9e2363dc7 /meta/recipes-bsp/pcmciautils/pcmciautils-018
parenta185a09b2600c97d33dec33b99f87ac4e73412b2 (diff)
downloadpoky-462a873cd3fe9fce5a30f48abf0d5192fe94b6d9.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. (From OE-Core rev: 055a5bbfc7686c8eec3aad2bcbcf90c40031cc34) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/pcmciautils/pcmciautils-018')
-rw-r--r--meta/recipes-bsp/pcmciautils/pcmciautils-018/Makefile-fix-for-parallel-build.patch12
1 files changed, 6 insertions, 6 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 c9a7ada408..d0bb3d6f1a 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
@@ -18,11 +18,11 @@ Upstream-Status: Pending
18 18
19Signed-off-by: Robert Yang <liezhi.yang@windriver.com> 19Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
20--- 20---
21 Makefile | 2 +- 21 Makefile | 4 +++-
22 1 file changed, 1 insertion(+), 1 deletion(-) 22 1 file changed, 3 insertions(+), 1 deletion(-)
23 23
24diff --git a/Makefile b/Makefile 24diff --git a/Makefile b/Makefile
25index d45fdc3..d4ffd7e 100644 25index d45fdc3..963453a 100644
26--- a/Makefile 26--- a/Makefile
27+++ b/Makefile 27+++ b/Makefile
28@@ -246,7 +246,9 @@ $(PCMCIA_SOCKET_STARTUP): $(LIBC) src/startup.o src/yacc_config.o src/lex_config 28@@ -246,7 +246,9 @@ $(PCMCIA_SOCKET_STARTUP): $(LIBC) src/startup.o src/yacc_config.o src/lex_config
@@ -30,9 +30,9 @@ index d45fdc3..d4ffd7e 100644
30 $(QUIET) $(STRIPCMD) $@ 30 $(QUIET) $(STRIPCMD) $@
31 31
32-yacc_config.o lex_config.o: %.o: %.c 32-yacc_config.o lex_config.o: %.o: %.c
33+lex_config.o: yacc_config.h 33+lex_config.o: lex_config.c yacc_config.h
34+ 34+ $(CC) -c -MD -O -pipe $(CPPFLAGS) $<
35+yacc_config.o lex_config.o: %.o: %.c: %.h 35+yacc_config.o: yacc_config.c
36 $(CC) -c -MD -O -pipe $(CPPFLAGS) $< 36 $(CC) -c -MD -O -pipe $(CPPFLAGS) $<
37 37
38 debugtools: ccdv $(CBDUMP) $(CISDUMP) 38 debugtools: ccdv $(CBDUMP) $(CISDUMP)