diff options
author | Roy.Li <rongqing.li@windriver.com> | 2012-12-26 07:11:16 +0000 |
---|---|---|
committer | Joe MacDonald <joe.macdonald@windriver.com> | 2013-01-04 15:12:20 -0500 |
commit | e269762ff4cff0357a9a67470f8281042733e5ad (patch) | |
tree | dc3af7a23e56ec5a31e1db67a7b81f9ba149371e /meta-networking/recipes-daemons/radvd | |
parent | 973754af240b8f87724a02675fe564f8e73de251 (diff) | |
download | meta-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.patch | 24 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/radvd/radvd_1.9.1.bb | 5 |
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 @@ | |||
1 | scanner.c is generated by flex using scanner.l, scanner.l needs gram.h | ||
2 | when produce scanner.c, so redefine the dependency relation | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> | ||
7 | --- | ||
8 | Makefile.am | 3 +-- | ||
9 | 1 files changed, 1 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/Makefile.am b/Makefile.am | ||
12 | index 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 | -- | ||
23 | 1.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 @@ | |||
1 | PR = "r0" | 1 | PR = "r1" |
2 | 2 | ||
3 | require radvd.inc | 3 | require radvd.inc |
4 | 4 | ||
5 | SRC_URI[md5sum] = "e807ad7e9a76d46b6133df391385cd31" | 5 | SRC_URI[md5sum] = "e807ad7e9a76d46b6133df391385cd31" |
6 | SRC_URI[sha256sum] = "54eb5704a2b710ba946fa30d2bca811fa23b1b3bfab322c38cb0c2a9619aa933" | 6 | SRC_URI[sha256sum] = "54eb5704a2b710ba946fa30d2bca811fa23b1b3bfab322c38cb0c2a9619aa933" |
7 | |||
8 | SRC_URI += "\ | ||
9 | file://change-scanner-dependency.patch" | ||