Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] 2 fixes for parallel build
@ 2015-04-29  5:29 Robert Yang
  2015-04-29  5:29 ` [PATCH 1/2] bison: fix parallel issue Robert Yang
  2015-04-29  5:29 ` [PATCH 2/2] pcmciautils: fix for parallel build Robert Yang
  0 siblings, 2 replies; 3+ messages in thread
From: Robert Yang @ 2015-04-29  5:29 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 4dd4b96b6d60246338bb30ede9f3ab1b2e757be9:

  libxfont: Security Advisory - libxfont - CVE-2015-1804 (2015-04-28 07:56:01 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/parallel
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/parallel

Robert Yang (2):
  bison: fix parallel issue
  pcmciautils: fix for parallel build

 .../Makefile-fix-for-parallel-build.patch          |   12 +++----
 .../0001-src-local.mk-fix-parallel-issue.patch     |   33 ++++++++++++++++++++
 meta/recipes-devtools/bison/bison_3.0.4.bb         |    1 +
 3 files changed, 40 insertions(+), 6 deletions(-)
 create mode 100644 meta/recipes-devtools/bison/bison/0001-src-local.mk-fix-parallel-issue.patch

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] bison: fix parallel issue
  2015-04-29  5:29 [PATCH 0/2] 2 fixes for parallel build Robert Yang
@ 2015-04-29  5:29 ` Robert Yang
  2015-04-29  5:29 ` [PATCH 2/2] pcmciautils: fix for parallel build Robert Yang
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Yang @ 2015-04-29  5:29 UTC (permalink / raw)
  To: openembedded-core

Fixed:
rm -f src/yacc src/yacc.tmp
echo '#! /bin/sh' >src/yacc.tmp
/bin/bash: src/yacc.tmp: No such file or directory
Makefile:6670: recipe for target 'src/yacc' failed

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 .../0001-src-local.mk-fix-parallel-issue.patch     |   33 ++++++++++++++++++++
 meta/recipes-devtools/bison/bison_3.0.4.bb         |    1 +
 2 files changed, 34 insertions(+)
 create mode 100644 meta/recipes-devtools/bison/bison/0001-src-local.mk-fix-parallel-issue.patch

diff --git a/meta/recipes-devtools/bison/bison/0001-src-local.mk-fix-parallel-issue.patch b/meta/recipes-devtools/bison/bison/0001-src-local.mk-fix-parallel-issue.patch
new file mode 100644
index 0000000..9543a56
--- /dev/null
+++ b/meta/recipes-devtools/bison/bison/0001-src-local.mk-fix-parallel-issue.patch
@@ -0,0 +1,33 @@
+From 3a15f7c9ace6c0294edc313a1848cafcc31b2a92 Mon Sep 17 00:00:00 2001
+From: Robert Yang <liezhi.yang@windriver.com>
+Date: Fri, 24 Apr 2015 00:38:32 -0700
+Subject: [PATCH] src/local.mk: fix parallel issue
+
+Fixed:
+rm -f src/yacc src/yacc.tmp
+echo '#! /bin/sh' >src/yacc.tmp
+/bin/bash: src/yacc.tmp: No such file or directory
+Makefile:6670: recipe for target 'src/yacc' failed
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ src/local.mk |    1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/local.mk b/src/local.mk
+index 573ad00..28bfae4 100644
+--- a/src/local.mk
++++ b/src/local.mk
+@@ -119,6 +119,7 @@ MOSTLYCLEANFILES += src/yacc
+ 
+ src/yacc:
+ 	$(AM_V_GEN)rm -f $@ $@.tmp
++	$(AM_V_at)$(MKDIR_P) src
+ 	$(AM_V_at)echo '#! /bin/sh' >$@.tmp
+ 	$(AM_V_at)echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@.tmp
+ 	$(AM_V_at)chmod a+x $@.tmp
+-- 
+1.7.9.5
+
diff --git a/meta/recipes-devtools/bison/bison_3.0.4.bb b/meta/recipes-devtools/bison/bison_3.0.4.bb
index de29506..708e9a3 100644
--- a/meta/recipes-devtools/bison/bison_3.0.4.bb
+++ b/meta/recipes-devtools/bison/bison_3.0.4.bb
@@ -13,6 +13,7 @@ SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.xz \
            file://m4.patch \
            file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
            file://dont-depend-on-help2man.patch.patch \
+           file://0001-src-local.mk-fix-parallel-issue.patch \
 "
 
 # No point in hardcoding path to m4, just use PATH
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] pcmciautils: fix for parallel build
  2015-04-29  5:29 [PATCH 0/2] 2 fixes for parallel build Robert Yang
  2015-04-29  5:29 ` [PATCH 1/2] bison: fix parallel issue Robert Yang
@ 2015-04-29  5:29 ` Robert Yang
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Yang @ 2015-04-29  5:29 UTC (permalink / raw)
  To: openembedded-core

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>
---
 .../Makefile-fix-for-parallel-build.patch          |   12 ++++++------
 1 file 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 c9a7ada..d0bb3d6 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 <liezhi.yang@windriver.com>
 ---
- 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)
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-29  5:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29  5:29 [PATCH 0/2] 2 fixes for parallel build Robert Yang
2015-04-29  5:29 ` [PATCH 1/2] bison: fix parallel issue Robert Yang
2015-04-29  5:29 ` [PATCH 2/2] pcmciautils: fix for parallel build Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox