[oe] [PATCH] wireless-tools: Fix libiw/ifrename packages, bump PR.
Khem Raj
raj.khem at gmail.com
Fri Apr 3 19:10:39 UTC 2009
On (03/04/09 10:10), Tom Rini wrote:
> I'm sending this for review since it actually puts ifrename into its own
> package as was apparently intended, but not happening. Giving people
> the weekend + Monday to complain and Tuesday AM (US -0700) I'll push.
>
> We weren't creating the above packages as we needed to use '=+' not
> '+=' here to take things from the default package. For these
> additional packages, add files with '=' not '+=' and we only need to add
> ${sysconfdir}/network to the base package glob. Also we need to run
> install-static to get libiw.a to be installed.
>
> ---
> recipes/wireless-tools/wireless-tools.inc | 21 ++++++++++-----------
> recipes/wireless-tools/wireless-tools_29.bb | 2 +-
> 2 files changed, 11 insertions(+), 12 deletions(-)
>
> diff --git a/recipes/wireless-tools/wireless-tools.inc b/recipes/wireless-tools/wireless-tools.inc
> index d2a7b89..f52c3f1 100644
> --- a/recipes/wireless-tools/wireless-tools.inc
> +++ b/recipes/wireless-tools/wireless-tools.inc
> @@ -31,7 +31,7 @@ do_stage() {
> }
>
> do_install() {
> - oe_runmake PREFIX=${D} install-iwmulticall install-dynamic install-man install-hdr
> + oe_runmake PREFIX=${D} install-iwmulticall install-dynamic install-static install-man install-hdr
> install -d ${D}${sbindir}
> install -m 0755 ifrename ${D}${sbindir}/ifrename
> install -d ${D}${sysconfdir}/network/if-pre-up.d
> @@ -39,13 +39,12 @@ do_install() {
> install ${WORKDIR}/zzz-wireless.if-pre-up ${D}${sysconfdir}/network/if-pre-up.d/zzz-wireless
> }
>
> -PACKAGES += "libiw libiw-dev libiw-doc libiw-dbg ifrename ifrename-dbg ifrename-doc"
> -FILES_libiw += "${libdir}/*.so.*"
> -FILES_libiw-dbg += "${libdir}/.debug/*.so.*"
> -FILES_libiw-dev += "${libdir}/*.a ${libdir}/*.so ${includedir}"
> -FILES_libiw-doc += "${mandir}/man7"
> -FILES_ifrename += "${sbindir}/ifrename"
> -FILES_ifrename-dbg += "${sbindir}/.debug/ifrename"
> -FILES_ifrename-doc += "${mandir}/man8/ifrename.8 ${mandir}/man5/iftab.5"
> -FILES_${PN} += "${bindir} ${sbindir}/iw* ${base_sbindir} ${base_bindir} ${sysconfdir}/network"
> -FILES_${PN}-doc += "${mandir}/man8"
> +PACKAGES =+ "libiw libiw-dev libiw-doc libiw-dbg ifrename ifrename-dbg ifrename-doc"
> +FILES_libiw = "${libdir}/*.so.*"
> +FILES_libiw-dbg = "${libdir}/.debug/*.so.*"
> +FILES_libiw-dev = "${libdir}/*.a ${libdir}/*.so ${includedir}"
> +FILES_libiw-doc = "${mandir}/man7"
> +FILES_ifrename = "${sbindir}/ifrename"
> +FILES_ifrename-dbg = "${sbindir}/.debug/ifrename"
> +FILES_ifrename-doc = "${mandir}/man8/ifrename.8 ${mandir}/man5/iftab.5"
> +FILES_${PN} += "${sysconfdir}/network"
> diff --git a/recipes/wireless-tools/wireless-tools_29.bb b/recipes/wireless-tools/wireless-tools_29.bb
> index 196a194..fb68127 100644
> --- a/recipes/wireless-tools/wireless-tools_29.bb
> +++ b/recipes/wireless-tools/wireless-tools_29.bb
> @@ -1,3 +1,3 @@
> require wireless-tools.inc
>
> -PR = "r3"
> +PR = "r4"
Look ok to me.
> --
> 1.5.6.3
>
> --
> Tom Rini
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
More information about the Openembedded-devel
mailing list