summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/radvd
diff options
context:
space:
mode:
authorRoy.Li <rongqing.li@windriver.com>2012-12-26 07:11:16 +0000
committerJoe MacDonald <joe.macdonald@windriver.com>2013-01-04 15:12:20 -0500
commite269762ff4cff0357a9a67470f8281042733e5ad (patch)
treedc3af7a23e56ec5a31e1db67a7b81f9ba149371e /meta-networking/recipes-daemons/radvd
parent973754af240b8f87724a02675fe564f8e73de251 (diff)
downloadmeta-openembedded-e269762ff4cff0357a9a67470f8281042733e5ad.tar.gz
radvd: change scanner.* file dependency
generation of scanner.c needs gram.h, not just scanner.o Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Diffstat (limited to 'meta-networking/recipes-daemons/radvd')
-rw-r--r--meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch24
-rw-r--r--meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb5
2 files changed, 28 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch b/meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch
new file mode 100644
index 000000000..b190866c4
--- /dev/null
+++ b/meta-networking/recipes-daemons/radvd/files/change-scanner-dependency.patch
@@ -0,0 +1,24 @@
1scanner.c is generated by flex using scanner.l, scanner.l needs gram.h
2when produce scanner.c, so redefine the dependency relation
3
4Upstream-Status: Pending
5
6Signed-off-by: Roy.Li <rongqing.li@windriver.com>
7---
8 Makefile.am | 3 +--
9 1 files changed, 1 insertions(+), 2 deletions(-)
10
11diff --git a/Makefile.am b/Makefile.am
12index 04b834b..2da986c 100644
13--- a/Makefile.am
14+++ b/Makefile.am
15@@ -131,5 +131,4 @@ dist-hook:
16 rm -f $(distdir)/gram.h
17 rm -f $(distdir)/scanner.c
18
19-scanner.o: gram.h
20-
21+scanner.c: gram.h
22--
231.7.4.1
24
diff --git a/meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb b/meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb
index 26d21ce07..37c224b19 100644
--- a/meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb
+++ b/meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb
@@ -1,6 +1,9 @@
1PR = "r0" 1PR = "r1"
2 2
3require radvd.inc 3require radvd.inc
4 4
5SRC_URI[md5sum] = "e807ad7e9a76d46b6133df391385cd31" 5SRC_URI[md5sum] = "e807ad7e9a76d46b6133df391385cd31"
6SRC_URI[sha256sum] = "54eb5704a2b710ba946fa30d2bca811fa23b1b3bfab322c38cb0c2a9619aa933" 6SRC_URI[sha256sum] = "54eb5704a2b710ba946fa30d2bca811fa23b1b3bfab322c38cb0c2a9619aa933"
7
8SRC_URI += "\
9 file://change-scanner-dependency.patch"