From: Joe MacDonald <Joe.MacDonald@windriver.com>
To: <rongqing.li@windriver.com>
Cc: openembedded-devel@lists.openembedded.org,
Liezhi.Yang@windriver.com, Zhenfeng.Zhao@windriver.com
Subject: Re: [meta-networking][PATCH] radvd: change scanner.* file dependency
Date: Fri, 4 Jan 2013 15:16:13 -0500 [thread overview]
Message-ID: <20130104201612.GG2874@windriver.com> (raw)
In-Reply-To: <1356505876-32548-1-git-send-email-rongqing.li@windriver.com>
[-- Attachment #1: Type: text/plain, Size: 2090 bytes --]
(Finally) Merged, thanks.
-J.
[[meta-networking][PATCH] radvd: change scanner.* file dependency] On 12.12.26 (Wed 15:11) rongqing.li@windriver.com wrote:
> From: "Roy.Li" <rongqing.li@windriver.com>
>
> generation of scanner.c needs gram.h, not just scanner.o
>
> Signed-off-by: Roy.Li <rongqing.li@windriver.com>
> ---
> .../radvd/files/change-scanner-dependency.patch | 24 ++++++++++++++++++++
> recipes-daemons/radvd/radvd_1.9.1.bb | 5 +++-
> 2 files changed, 28 insertions(+), 1 deletion(-)
> create mode 100644 recipes-daemons/radvd/files/change-scanner-dependency.patch
>
> diff --git a/recipes-daemons/radvd/files/change-scanner-dependency.patch b/recipes-daemons/radvd/files/change-scanner-dependency.patch
> new file mode 100644
> index 0000000..b190866
> --- /dev/null
> +++ b/recipes-daemons/radvd/files/change-scanner-dependency.patch
> @@ -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
> +
> diff --git a/recipes-daemons/radvd/radvd_1.9.1.bb b/recipes-daemons/radvd/radvd_1.9.1.bb
> index 26d21ce..37c224b 100644
> --- a/recipes-daemons/radvd/radvd_1.9.1.bb
> +++ b/recipes-daemons/radvd/radvd_1.9.1.bb
> @@ -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"
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
prev parent reply other threads:[~2013-01-04 20:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-26 7:11 [meta-networking][PATCH] radvd: change scanner.* file dependency rongqing.li
2013-01-04 20:16 ` Joe MacDonald [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130104201612.GG2874@windriver.com \
--to=joe.macdonald@windriver.com \
--cc=Liezhi.Yang@windriver.com \
--cc=Zhenfeng.Zhao@windriver.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=rongqing.li@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox