Patchwork eglibc-initial-2.16: add kconfig-frontends-native to depends

login
register
mail settings
Submitter Martin Jansa
Date Sept. 10, 2012, 2:04 p.m.
Message ID <1347285878-14778-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/36205/
State Accepted
Commit 8616e16ea0f9536c431e203e19d7bdff6ca867bb
Headers show

Comments

Martin Jansa - Sept. 10, 2012, 2:04 p.m.
* fixes:
  | make[1]: Entering directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-initial-2.16-r8+svnr20393/eglibc-2_16/libc'
  | make[1]: *** No rule to make target `/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/conf', needed by `config'.  Stop.
  | make[1]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-initial-2.16-r8+svnr20393/eglibc-2_16/libc'

* it's because, eglibc-initial.inc overwrites DEPENDS from eglibc_2.16.bb
  $ grep DEPENDS eglibc_2.16.bb
  DEPENDS += "gperf-native kconfig-frontends-native"
  $ grep DEPENDS eglibc-initial.inc
  DEPENDS = "linux-libc-headers virtual/${TARGET_PREFIX}gcc-initial"

  and it's included after eglibc_2.16.bb
  $ head -n 3 eglibc-initial_2.16.bb
  require eglibc_${PV}.bb
  require eglibc-initial.inc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-core/eglibc/eglibc-initial_2.16.bb | 2 ++
 1 file changed, 2 insertions(+)
Richard Purdie - Sept. 10, 2012, 3:58 p.m.
On Mon, 2012-09-10 at 16:04 +0200, Martin Jansa wrote:
> * fixes:
>   | make[1]: Entering directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-initial-2.16-r8+svnr20393/eglibc-2_16/libc'
>   | make[1]: *** No rule to make target `/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/conf', needed by `config'.  Stop.
>   | make[1]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/eglibc-initial-2.16-r8+svnr20393/eglibc-2_16/libc'
> 
> * it's because, eglibc-initial.inc overwrites DEPENDS from eglibc_2.16.bb
>   $ grep DEPENDS eglibc_2.16.bb
>   DEPENDS += "gperf-native kconfig-frontends-native"
>   $ grep DEPENDS eglibc-initial.inc
>   DEPENDS = "linux-libc-headers virtual/${TARGET_PREFIX}gcc-initial"
> 
>   and it's included after eglibc_2.16.bb
>   $ head -n 3 eglibc-initial_2.16.bb
>   require eglibc_${PV}.bb
>   require eglibc-initial.inc
> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  meta/recipes-core/eglibc/eglibc-initial_2.16.bb | 2 ++
>  1 file changed, 2 insertions(+)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-core/eglibc/eglibc-initial_2.16.bb b/meta/recipes-core/eglibc/eglibc-initial_2.16.bb
index f6b09ac..de45079 100644
--- a/meta/recipes-core/eglibc/eglibc-initial_2.16.bb
+++ b/meta/recipes-core/eglibc/eglibc-initial_2.16.bb
@@ -1,6 +1,8 @@ 
 require eglibc_${PV}.bb
 require eglibc-initial.inc
 
+DEPENDS += "kconfig-frontends-native"
+
 # main eglibc recipes muck with TARGET_CPPFLAGS to point into
 # final target sysroot but we
 # are not there when building eglibc-initial