Patchwork [meta-oe] libmtp_1.1.5.bb : Fix 'Makefile.am: No such file or directory' build error.

login
register
mail settings
Submitter Charles Oram
Date May 14, 2014, 2:10 a.m.
Message ID <CAGw0TDMuODtcF6P-DFDsGg3d4Vuvgu0nuHG5muAFDBuO=6ZDoA@mail.gmail.com>
Download mbox | patch
Permalink /patch/72121/
State New
Headers show

Comments

Charles Oram - May 14, 2014, 2:10 a.m.
libmtp_1.1.5.bb : Fix "Makefile.am: No such file or directory" build error.

skip_udev_rules_generation() needs to reference Makefile.am in the recipe
source directory.

Signed-off-by: Charles Oram <charles at oram.co.nz
<http://lists.openembedded.org/mailman/listinfo/openembedded-core>>

---
 meta-oe/recipes-connectivity/
libmtp/libmtp_1.1.5.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


--
1.7.10.4
Khem Raj - May 14, 2014, 3:07 a.m.
On Tue, May 13, 2014 at 7:10 PM, Charles Oram <charles@oram.co.nz> wrote:

> libmtp_1.1.5.bb : Fix "Makefile.am: No such file or directory" build
> error.
>
> skip_udev_rules_generation() needs to reference Makefile.am in the recipe
> source directory.
>
>
?Looks good though it belongs to a oe devel mailing list.?



> Signed-off-by: Charles Oram <charles at oram.co.nz <http://lists.openembedded.org/mailman/listinfo/openembedded-core>>
>
> ---
>  meta-oe/recipes-connectivity/
> libmtp/libmtp_1.1.5.bb |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.5.bbb/meta-oe/recipes-connectivity/libmtp/
> libmtp_1.1.5.bb
> index f4ea800..e164f49 100644
> --- a/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.5.bb
> +++ b/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.5.bb
> @@ -29,7 +29,7 @@ do_unpack[vardeps] += "skip_udev_rules_generation"
>  do_unpack[postfuncs] += "skip_udev_rules_generation"
>
>  skip_udev_rules_generation () {
> -       sed -i -e '/^noinst_DATA=/,/util\/mtp-hotplug -H/d' Makefile.am
> +       sed -i -e '/^noinst_DATA=/,/util\/mtp-hotplug -H/d'
> ${S}/Makefile.am
>         cp ${WORKDIR}/69-libmtp.rules ${S}/
>  }
>
>
> --
> 1.7.10.4
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>

Patch

diff --git a/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.5.bbb/meta-oe/recipes-connectivity/libmtp/
libmtp_1.1.5.bb
index f4ea800..e164f49 100644
--- a/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.5.bb
+++ b/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.5.bb
@@ -29,7 +29,7 @@  do_unpack[vardeps] += "skip_udev_rules_generation"
 do_unpack[postfuncs] += "skip_udev_rules_generation"

 skip_udev_rules_generation () {
-       sed -i -e '/^noinst_DATA=/,/util\/mtp-hotplug -H/d' Makefile.am
+       sed -i -e '/^noinst_DATA=/,/util\/mtp-hotplug -H/d' ${S}/Makefile.am
        cp ${WORKDIR}/69-libmtp.rules ${S}/
 }