* [meta-oe][PATCH] usb-modeswitch: Do not try to use autotools
@ 2014-07-09 13:55 Jukka Rissanen
2014-07-10 9:50 ` Koen Kooi
0 siblings, 1 reply; 2+ messages in thread
From: Jukka Rissanen @ 2014-07-09 13:55 UTC (permalink / raw)
To: openembedded-devel
There is only one Makefile in the project so no use trying to use
autotools.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
---
meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb
index 92d1ac4..761617c 100644
--- a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb
+++ b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb
@@ -2,8 +2,6 @@ SUMMARY = "A mode switching tool for controlling 'flip flop' (multiple device) U
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-inherit autotools
-
DEPENDS = "libusb1"
SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${PV}.tar.bz2"
@@ -15,3 +13,7 @@ EXTRA_OEMAKE = "TCL=${bindir}/tclsh"
FILES_${PN} = "${bindir} ${sysconfdir} ${base_libdir}/udev/usb_modeswitch ${sbindir} ${localstatedir}/lib/usb_modeswitch"
RDEPENDS_${PN} = "tcl"
RRECOMMENDS_${PN} = "usb-modeswitch-data"
+
+do_install_append() {
+ oe_runmake DESTDIR=${D} install
+}
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-oe][PATCH] usb-modeswitch: Do not try to use autotools
2014-07-09 13:55 [meta-oe][PATCH] usb-modeswitch: Do not try to use autotools Jukka Rissanen
@ 2014-07-10 9:50 ` Koen Kooi
0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2014-07-10 9:50 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jukka Rissanen schreef op 09-07-14 15:55:
> There is only one Makefile in the project so no use trying to use
> autotools.
>
> Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> ---
> meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb | 6
> ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git
> a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb
> b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb index
> 92d1ac4..761617c 100644 ---
> a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb +++
> b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb @@ -2,8
> +2,6 @@ SUMMARY = "A mode switching tool for controlling 'flip flop'
> (multiple device) U LICENSE = "GPLv2" LIC_FILES_CHKSUM =
> "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>
> -inherit autotools - DEPENDS = "libusb1"
>
> SRC_URI =
> "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${PV}.tar.bz2"
> @@ -15,3 +13,7 @@ EXTRA_OEMAKE = "TCL=${bindir}/tclsh" FILES_${PN} =
> "${bindir} ${sysconfdir} ${base_libdir}/udev/usb_modeswitch ${sbindir}
> ${localstatedir}/lib/usb_modeswitch" RDEPENDS_${PN} = "tcl"
> RRECOMMENDS_${PN} = "usb-modeswitch-data" + +do_install_append() { +
> oe_runmake DESTDIR=${D} install +}
>
Why 'append'?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFTvmHQMkyGM64RGpERAjNhAJsGrPsjduh+tyXOpfdgSGDeyyMIAQCfddVb
iqFcOGhKW0utODF6oqEi0PU=
=afXu
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-10 9:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-09 13:55 [meta-oe][PATCH] usb-modeswitch: Do not try to use autotools Jukka Rissanen
2014-07-10 9:50 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.