[oe-commits] Jukka Rissanen : usb-modeswitch: Do not try to use autotools

git at git.openembedded.org git at git.openembedded.org
Tue Jul 15 13:09:09 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 2e3735d9c45bf8b4e0cc2edebf552d30e0436618
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=2e3735d9c45bf8b4e0cc2edebf552d30e0436618

Author: Jukka Rissanen <jukka.rissanen at linux.intel.com>
Date:   Thu Jul 10 17:25:36 2014 +0300

usb-modeswitch: Do not try to use autotools

There is only one Makefile in the project so there is no need to use
autotools.

Signed-off-by: Jukka Rissanen <jukka.rissanen at linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.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..61caa84 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() {
+	oe_runmake DESTDIR=${D} install
+}



More information about the Openembedded-commits mailing list