Patchwork [2/3] binutils: Add missing target package dependencies

login
register
mail settings
Submitter Khem Raj
Date July 20, 2012, 5:22 a.m.
Message ID <1342761780-20215-2-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/32685/
State Accepted
Commit 627725700ee9e2ca39a19f19a77cd772cd8ecf9f
Headers show

Comments

Khem Raj - July 20, 2012, 5:22 a.m.
e.g. libfl from flex is needed for target
binutils to link otherwise it can fail to build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/binutils/binutils-2.22.inc |    2 +-
 meta/recipes-devtools/binutils/binutils_2.22.bb  |    3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
Saul Wold - July 21, 2012, 12:26 a.m.
On 07/19/2012 10:22 PM, Khem Raj wrote:
> e.g. libfl from flex is needed for target
> binutils to link otherwise it can fail to build
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>   meta/recipes-devtools/binutils/binutils-2.22.inc |    2 +-
>   meta/recipes-devtools/binutils/binutils_2.22.bb  |    3 +++
>   2 files changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/binutils/binutils-2.22.inc b/meta/recipes-devtools/binutils/binutils-2.22.inc
> index e776985..e3e179d 100644
> --- a/meta/recipes-devtools/binutils/binutils-2.22.inc
> +++ b/meta/recipes-devtools/binutils/binutils-2.22.inc
> @@ -1,4 +1,4 @@
> -PR = "r12"
> +PR = "r13"
>
>   LIC_FILES_CHKSUM="\
>       file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
> diff --git a/meta/recipes-devtools/binutils/binutils_2.22.bb b/meta/recipes-devtools/binutils/binutils_2.22.bb
> index b8e1112..b8250d8 100644
> --- a/meta/recipes-devtools/binutils/binutils_2.22.bb
> +++ b/meta/recipes-devtools/binutils/binutils_2.22.bb
> @@ -1,5 +1,8 @@
>   require binutils.inc
>   require binutils-${PV}.inc
> +
> +DEPENDS += "flex bison zlib"
> +
>   EXTRA_OECONF += "--with-sysroot=/ \
>                   --enable-install-libbfd \
>                   --enable-shared \
>

Merged this along with 3/3 puzzles, sorry for the confusion on the http, 
I thought I downloaded it correctly, must have hit the mirror.

Thanks
	Sau!

Patch

diff --git a/meta/recipes-devtools/binutils/binutils-2.22.inc b/meta/recipes-devtools/binutils/binutils-2.22.inc
index e776985..e3e179d 100644
--- a/meta/recipes-devtools/binutils/binutils-2.22.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.22.inc
@@ -1,4 +1,4 @@ 
-PR = "r12"
+PR = "r13"
 
 LIC_FILES_CHKSUM="\
     file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
diff --git a/meta/recipes-devtools/binutils/binutils_2.22.bb b/meta/recipes-devtools/binutils/binutils_2.22.bb
index b8e1112..b8250d8 100644
--- a/meta/recipes-devtools/binutils/binutils_2.22.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.22.bb
@@ -1,5 +1,8 @@ 
 require binutils.inc
 require binutils-${PV}.inc
+
+DEPENDS += "flex bison zlib"
+
 EXTRA_OECONF += "--with-sysroot=/ \
                 --enable-install-libbfd \
                 --enable-shared \