summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-04-28 22:29:06 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-30 23:04:16 +0100
commita185a09b2600c97d33dec33b99f87ac4e73412b2 (patch)
tree5bee694d1f5017622d18774d1c83a159bb580b62 /meta
parent43a60facf66f343ea5fc936bdd7fde65fa6e1714 (diff)
downloadpoky-a185a09b2600c97d33dec33b99f87ac4e73412b2.tar.gz
bison: 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 (From OE-Core rev: 2d51e2ff2f77fc6b14e50bd3a32998953d809a48) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/bison/bison/0001-src-local.mk-fix-parallel-issue.patch33
-rw-r--r--meta/recipes-devtools/bison/bison_3.0.4.bb1
2 files changed, 34 insertions, 0 deletions
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 0000000000..9543a56f1e
--- /dev/null
+++ b/meta/recipes-devtools/bison/bison/0001-src-local.mk-fix-parallel-issue.patch
@@ -0,0 +1,33 @@
1From 3a15f7c9ace6c0294edc313a1848cafcc31b2a92 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Fri, 24 Apr 2015 00:38:32 -0700
4Subject: [PATCH] src/local.mk: fix parallel issue
5
6Fixed:
7rm -f src/yacc src/yacc.tmp
8echo '#! /bin/sh' >src/yacc.tmp
9/bin/bash: src/yacc.tmp: No such file or directory
10Makefile:6670: recipe for target 'src/yacc' failed
11
12Upstream-Status: Pending
13
14Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
15---
16 src/local.mk | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/src/local.mk b/src/local.mk
20index 573ad00..28bfae4 100644
21--- a/src/local.mk
22+++ b/src/local.mk
23@@ -119,6 +119,7 @@ MOSTLYCLEANFILES += src/yacc
24
25 src/yacc:
26 $(AM_V_GEN)rm -f $@ $@.tmp
27+ $(AM_V_at)$(MKDIR_P) src
28 $(AM_V_at)echo '#! /bin/sh' >$@.tmp
29 $(AM_V_at)echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@.tmp
30 $(AM_V_at)chmod a+x $@.tmp
31--
321.7.9.5
33
diff --git a/meta/recipes-devtools/bison/bison_3.0.4.bb b/meta/recipes-devtools/bison/bison_3.0.4.bb
index de295060e9..708e9a3fd8 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 \
13 file://m4.patch \ 13 file://m4.patch \
14 file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ 14 file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
15 file://dont-depend-on-help2man.patch.patch \ 15 file://dont-depend-on-help2man.patch.patch \
16 file://0001-src-local.mk-fix-parallel-issue.patch \
16" 17"
17 18
18# No point in hardcoding path to m4, just use PATH 19# No point in hardcoding path to m4, just use PATH