From 055a5bbfc7686c8eec3aad2bcbcf90c40031cc34 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 28 Apr 2015 22:29:07 -0700 Subject: 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 Signed-off-by: Richard Purdie --- .../pcmciautils-018/Makefile-fix-for-parallel-build.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'meta') 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 Signed-off-by: Robert Yang --- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + Makefile | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile -index d45fdc3..d4ffd7e 100644 +index d45fdc3..963453a 100644 --- a/Makefile +++ b/Makefile @@ -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 $(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 ++lex_config.o: lex_config.c yacc_config.h ++ $(CC) -c -MD -O -pipe $(CPPFLAGS) $< ++yacc_config.o: yacc_config.c $(CC) -c -MD -O -pipe $(CPPFLAGS) $< debugtools: ccdv $(CBDUMP) $(CISDUMP) -- cgit v1.2.3