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>
This commit is contained in:
Roy.Li 2012-12-26 07:11:16 +00:00 committed by Joe MacDonald
parent 973754af24
commit e269762ff4
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,24 @@
scanner.c is generated by flex using scanner.l, scanner.l needs gram.h
when produce scanner.c, so redefine the dependency relation
Upstream-Status: Pending
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
---
Makefile.am | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 04b834b..2da986c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -131,5 +131,4 @@ dist-hook:
rm -f $(distdir)/gram.h
rm -f $(distdir)/scanner.c
-scanner.o: gram.h
-
+scanner.c: gram.h
--
1.7.4.1

View File

@ -1,6 +1,9 @@
PR = "r0"
PR = "r1"
require radvd.inc
SRC_URI[md5sum] = "e807ad7e9a76d46b6133df391385cd31"
SRC_URI[sha256sum] = "54eb5704a2b710ba946fa30d2bca811fa23b1b3bfab322c38cb0c2a9619aa933"
SRC_URI += "\
file://change-scanner-dependency.patch"