Patchwork [1/5] kconfig-frontends: New recipe

login
register
mail settings
Submitter Khem Raj
Date June 21, 2012, 10:54 p.m.
Message ID <34661d7f2383341236e842d75197263faf23ced1.1340319020.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/30419/
State New
Headers show

Comments

Khem Raj - June 21, 2012, 10:54 p.m.
kconfig-frontends provides the kconfig infrastructure
thats used for linux kernel as a standalone package. Its
not intended to be used for kernel itself but can be
used by packages who are based on kconfig e.g. busybox
uclibc or new packages who wants to use kconfig infra
for the package build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../kconfig-frontends/kconfig-frontends_3.4.bb     |   28 ++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
Saul Wold - June 24, 2012, 6:16 p.m.
On 06/21/2012 03:54 PM, Khem Raj wrote:
> kconfig-frontends provides the kconfig infrastructure
> thats used for linux kernel as a standalone package. Its
> not intended to be used for kernel itself but can be
> used by packages who are based on kconfig e.g. busybox
> uclibc or new packages who wants to use kconfig infra
> for the package build
>
Khem:

Did you build for nativesdk? Also did you check a multi-lib build, we 
have seen issues with new recipes and multi-lib.

Sau!

ERROR: Nothing PROVIDES 'flex-nativesdk' (but 
virtual:nativesdk:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb 
DEPENDS on or otherwise requires it)
ERROR: Nothing PROVIDES 'bison-nativesdk' (but 
virtual:nativesdk:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb 
DEPENDS on or otherwise requires it)
ERROR: Nothing PROVIDES 'gperf-nativesdk' (but 
virtual:nativesdk:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb 
DEPENDS on or otherwise requires it)
ERROR: Nothing RPROVIDES 'kconfig-frontends-nativesdk-dev' (but 
virtual:nativesdk:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb 
RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'kconfig-frontends-nativesdk-dev'
NOTE: Runtime target 'kconfig-frontends-nativesdk-dev' is unbuildable, 
removing...
Missing or unbuildable dependency chain was: 
['kconfig-frontends-nativesdk-dev']
ERROR: Nothing RPROVIDES 'kconfig-frontends-nativesdk' (but 
virtual:nativesdk:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb 
RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'kconfig-frontends-nativesdk'
NOTE: Runtime target 'kconfig-frontends-nativesdk' is unbuildable, 
removing...
Missing or unbuildable dependency chain was: ['kconfig-frontends-nativesdk']

> Signed-off-by: Khem Raj<raj.khem@gmail.com>
> ---
>   .../kconfig-frontends/kconfig-frontends_3.4.bb     |   28 ++++++++++++++++++++
>   1 files changed, 28 insertions(+), 0 deletions(-)
>   create mode 100644 meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
>
> diff --git a/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
> new file mode 100644
> index 0000000..d95d3e8
> --- /dev/null
> +++ b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
> @@ -0,0 +1,28 @@
> +# Copyright (C) 2012 Khem Raj<raj.khem@gmail.com>
> +# Released under the MIT license (see COPYING.MIT for the terms)
> +
> +DESCRIPTION = "The kconfig-frontends project aims at centralising \
> +the effort of keeping an up-to-date, out-of-tree, packaging of the \
> +kconfig infrastructure, ready for use by third-party projects. \
> +The kconfig-frontends package provides the kconfig parser, as well as all \
> +the frontends"
> +HOMEPAGE = "http://ymorin.is-a-geek.org/projects/kconfig-frontends"
> +LICENSE = "GPL-2.0"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=9b8cf60ff39767ff04b671fca8302408"
> +SECTION = "devel"
> +DEPENDS += "ncurses flex bison gperf"
> +PR = "r0"
> +PV = "3.4.0"
> +SPIN = "0"
> +SRC_URI = "http://ymorin.is-a-geek.org/download/${BPN}/${BPN}-${PV}-${SPIN}.tar.xz"
> +SRC_URI[md5sum] = "7eed0faf5a41d6dd0b2a886a440a972d"
> +SRC_URI[sha256sum] = "638006f3d1aefefdc1db3030a15b562cf3c89f2028b1cea0bf0f0629708802f2"
> +
> +S = "${WORKDIR}/${BPN}-${PV}-${SPIN}"
> +
> +inherit autotools
> +do_configure_prepend () {
> +	mkdir -p scripts/.autostuff/m4
> +}
> +EXTRA_OECONF += "--disable-gconf --disable-qconf"
> +BBCLASSEXTEND = "native nativesdk"
Khem Raj - June 24, 2012, 7:36 p.m.
On Sun, Jun 24, 2012 at 11:16 AM, Saul Wold <sgw@linux.intel.com> wrote:
> On 06/21/2012 03:54 PM, Khem Raj wrote:
>>
>> kconfig-frontends provides the kconfig infrastructure
>> thats used for linux kernel as a standalone package. Its
>> not intended to be used for kernel itself but can be
>> used by packages who are based on kconfig e.g. busybox
>> uclibc or new packages who wants to use kconfig infra
>> for the package build
>>
> Khem:
>
> Did you build for nativesdk? Also did you check a multi-lib build, we have
> seen issues with new recipes and multi-lib.

I did not try multilib but nativesdk did build but if I build now it
fails for me. Probably something changed in dev packaging. We can drop
nativesdk for now
until I rework it.

>
> Sau!
>
> ERROR: Nothing PROVIDES 'flex-nativesdk' (but
> virtual:nativesdk:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
> DEPENDS on or otherwise requires it)
> ERROR: Nothing PROVIDES 'bison-nativesdk' (but
> virtual:nativesdk:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
> DEPENDS on or otherwise requires it)
> ERROR: Nothing PROVIDES 'gperf-nativesdk' (but
> virtual:nativesdk:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
> DEPENDS on or otherwise requires it)
> ERROR: Nothing RPROVIDES 'kconfig-frontends-nativesdk-dev' (but
> virtual:nativesdk:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
> RDEPENDS on or otherwise requires it)
> ERROR: No eligible RPROVIDERs exist for 'kconfig-frontends-nativesdk-dev'
> NOTE: Runtime target 'kconfig-frontends-nativesdk-dev' is unbuildable,
> removing...
> Missing or unbuildable dependency chain was:
> ['kconfig-frontends-nativesdk-dev']
> ERROR: Nothing RPROVIDES 'kconfig-frontends-nativesdk' (but
> virtual:nativesdk:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
> RDEPENDS on or otherwise requires it)
> ERROR: No eligible RPROVIDERs exist for 'kconfig-frontends-nativesdk'
> NOTE: Runtime target 'kconfig-frontends-nativesdk' is unbuildable,
> removing...
> Missing or unbuildable dependency chain was: ['kconfig-frontends-nativesdk']
>
>
>> Signed-off-by: Khem Raj<raj.khem@gmail.com>
>> ---
>>  .../kconfig-frontends/kconfig-frontends_3.4.bb     |   28
>> ++++++++++++++++++++
>>  1 files changed, 28 insertions(+), 0 deletions(-)
>>  create mode 100644
>> meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
>>
>> diff --git
>> a/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
>> b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
>> new file mode 100644
>> index 0000000..d95d3e8
>> --- /dev/null
>> +++ b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
>> @@ -0,0 +1,28 @@
>> +# Copyright (C) 2012 Khem Raj<raj.khem@gmail.com>
>> +# Released under the MIT license (see COPYING.MIT for the terms)
>> +
>> +DESCRIPTION = "The kconfig-frontends project aims at centralising \
>> +the effort of keeping an up-to-date, out-of-tree, packaging of the \
>> +kconfig infrastructure, ready for use by third-party projects. \
>> +The kconfig-frontends package provides the kconfig parser, as well as all
>> \
>> +the frontends"
>> +HOMEPAGE = "http://ymorin.is-a-geek.org/projects/kconfig-frontends"
>> +LICENSE = "GPL-2.0"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=9b8cf60ff39767ff04b671fca8302408"
>> +SECTION = "devel"
>> +DEPENDS += "ncurses flex bison gperf"
>> +PR = "r0"
>> +PV = "3.4.0"
>> +SPIN = "0"
>> +SRC_URI =
>> "http://ymorin.is-a-geek.org/download/${BPN}/${BPN}-${PV}-${SPIN}.tar.xz"
>> +SRC_URI[md5sum] = "7eed0faf5a41d6dd0b2a886a440a972d"
>> +SRC_URI[sha256sum] =
>> "638006f3d1aefefdc1db3030a15b562cf3c89f2028b1cea0bf0f0629708802f2"
>> +
>> +S = "${WORKDIR}/${BPN}-${PV}-${SPIN}"
>> +
>> +inherit autotools
>> +do_configure_prepend () {
>> +       mkdir -p scripts/.autostuff/m4
>> +}
>> +EXTRA_OECONF += "--disable-gconf --disable-qconf"
>> +BBCLASSEXTEND = "native nativesdk"

Patch

diff --git a/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
new file mode 100644
index 0000000..d95d3e8
--- /dev/null
+++ b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.4.bb
@@ -0,0 +1,28 @@ 
+# Copyright (C) 2012 Khem Raj <raj.khem@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "The kconfig-frontends project aims at centralising \
+the effort of keeping an up-to-date, out-of-tree, packaging of the \
+kconfig infrastructure, ready for use by third-party projects. \
+The kconfig-frontends package provides the kconfig parser, as well as all \
+the frontends"
+HOMEPAGE = "http://ymorin.is-a-geek.org/projects/kconfig-frontends"
+LICENSE = "GPL-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=9b8cf60ff39767ff04b671fca8302408"
+SECTION = "devel"
+DEPENDS += "ncurses flex bison gperf"
+PR = "r0"
+PV = "3.4.0"
+SPIN = "0"
+SRC_URI = "http://ymorin.is-a-geek.org/download/${BPN}/${BPN}-${PV}-${SPIN}.tar.xz"
+SRC_URI[md5sum] = "7eed0faf5a41d6dd0b2a886a440a972d"
+SRC_URI[sha256sum] = "638006f3d1aefefdc1db3030a15b562cf3c89f2028b1cea0bf0f0629708802f2"
+
+S = "${WORKDIR}/${BPN}-${PV}-${SPIN}"
+
+inherit autotools
+do_configure_prepend () {
+	mkdir -p scripts/.autostuff/m4
+}
+EXTRA_OECONF += "--disable-gconf --disable-qconf"
+BBCLASSEXTEND = "native nativesdk"