Patchwork busybox-static: Look in ${P}:${BPN} before the main busybox

login
register
mail settings
Submitter Tom Rini
Date Jan. 14, 2011, 3:34 p.m.
Message ID <1295019241-5145-1-git-send-email-tom_rini@mentor.com>
Download mbox | patch
Permalink /patch/282/
State Accepted
Headers show

Comments

Tom Rini - Jan. 14, 2011, 3:34 p.m.
Update FILESPATHPKG so that busybox-static could have its own
starting defconfig.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
---
 recipes/busybox/busybox-static_1.18.1.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Tom Rini - Jan. 14, 2011, 3:46 p.m.
On 01/14/2011 08:34 AM, Tom Rini wrote:
> Update FILESPATHPKG so that busybox-static could have its own
> starting defconfig.
>
> Signed-off-by: Tom Rini<tom_rini@mentor.com>
> ---
>   recipes/busybox/busybox-static_1.18.1.bb |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/busybox/busybox-static_1.18.1.bb b/recipes/busybox/busybox-static_1.18.1.bb
> index 58aca93..27d4121 100644
> --- a/recipes/busybox/busybox-static_1.18.1.bb
> +++ b/recipes/busybox/busybox-static_1.18.1.bb
> @@ -1,6 +1,6 @@
>   require busybox_${PV}.bb
>
> -FILESPATHPKG =. "busybox-${PV}:"
> +FILESPATHPKG =. "${P}:${BPN}:busybox-${PV}:"
>   S = "${WORKDIR}/busybox-${PV}"
>
>   do_configure_append() {

The use here is if you have external layers/collections that want to 
build a busybox-static that's rather different from the regular busybox.
Khem Raj - Jan. 14, 2011, 8:12 p.m.
On Fri, Jan 14, 2011 at 7:34 AM, Tom Rini <tom_rini@mentor.com> wrote:
> Update FILESPATHPKG so that busybox-static could have its own
> starting defconfig.

OK looks fine
>
> Signed-off-by: Tom Rini <tom_rini@mentor.com>
> ---
>  recipes/busybox/busybox-static_1.18.1.bb |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/busybox/busybox-static_1.18.1.bb b/recipes/busybox/busybox-static_1.18.1.bb
> index 58aca93..27d4121 100644
> --- a/recipes/busybox/busybox-static_1.18.1.bb
> +++ b/recipes/busybox/busybox-static_1.18.1.bb
> @@ -1,6 +1,6 @@
>  require busybox_${PV}.bb
>
> -FILESPATHPKG =. "busybox-${PV}:"
> +FILESPATHPKG =. "${P}:${BPN}:busybox-${PV}:"
>  S = "${WORKDIR}/busybox-${PV}"
>
>  do_configure_append() {
> --
> 1.7.0.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

Patch

diff --git a/recipes/busybox/busybox-static_1.18.1.bb b/recipes/busybox/busybox-static_1.18.1.bb
index 58aca93..27d4121 100644
--- a/recipes/busybox/busybox-static_1.18.1.bb
+++ b/recipes/busybox/busybox-static_1.18.1.bb
@@ -1,6 +1,6 @@ 
 require busybox_${PV}.bb
 
-FILESPATHPKG =. "busybox-${PV}:"
+FILESPATHPKG =. "${P}:${BPN}:busybox-${PV}:"
 S = "${WORKDIR}/busybox-${PV}"
 
 do_configure_append() {