Return-Path: Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by arago-project.org (Postfix) with ESMTPS id 218BE52A39 for ; Mon, 1 Apr 2013 14:55:08 +0000 (UTC) Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r31Et6Xw028592 for ; Mon, 1 Apr 2013 09:55:06 -0500 Received: from DBDE71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id r31Et5NI011621 for ; Mon, 1 Apr 2013 20:25:05 +0530 (IST) Received: from dbdp32.itg.ti.com (172.24.170.251) by DBDE71.ent.ti.com (172.24.170.149) with Microsoft SMTP Server id 14.1.323.3; Mon, 1 Apr 2013 20:25:05 +0530 Received: from localhost.localdomain (dbdp20.itg.ti.com [172.24.170.38]) by dbdp32.itg.ti.com (8.13.8/8.13.8) with ESMTP id r31EsxCc020052; Mon, 1 Apr 2013 20:25:04 +0530 From: "Franklin S. Cooper Jr" To: Date: Mon, 1 Apr 2013 09:54:41 -0500 Message-ID: <1364828095-28755-3-git-send-email-fcooper@ti.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1364828095-28755-1-git-send-email-fcooper@ti.com> References: <1364828095-28755-1-git-send-email-fcooper@ti.com> MIME-Version: 1.0 Cc: "Franklin S. Cooper Jr" Subject: [PATCH 03/17 v2] ti-compat-bluetooth: Split recipe X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 14:55:08 -0000 Content-Type: text/plain * Generate a common .inc file to allow support for multiple versions of the ti-compat-bluetooth recipe. * Change the recipe name to reflect the specific TI compat-bluetooth release Signed-off-by: Franklin S. Cooper Jr --- Version 2 changes: Removed "+" from PR. Removed patches from .inc and moved them to the actual recipes. .../ti-compat-bluetooth/ti-compat-bluetooth.inc | 26 +++++++++++++ .../ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb | 39 -------------------- .../ti-compat-bluetooth_r5.sp3.05.bb | 12 ++++++ 3 files changed, 38 insertions(+), 39 deletions(-) create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth.inc delete mode 100644 meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.sp3.05.bb diff --git a/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth.inc b/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth.inc new file mode 100644 index 0000000..9003630 --- /dev/null +++ b/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth.inc @@ -0,0 +1,26 @@ +DESCRIPTION = "TI compat-bluetooth drivers" +HOMEPAGE = "https://gforge.ti.com/gf/project/ecs_nlcp/" +SECTION = "kernel/modules" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7" + +inherit module + +RDEPENDS_${PN} = "ti-compat-wireless-wl12xx" + +PR = "${MACHINE_KERNEL_PR}b" + +S = "${WORKDIR}/compat-bluetooth/" + +EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}" + +do_configure() { + cd ${S} + ./scripts/driver-select bt +} + +do_install() { + oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules + find ${D} -name compat.ko | xargs rm +} + diff --git a/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb b/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb deleted file mode 100644 index 9ce50f7..0000000 --- a/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb +++ /dev/null @@ -1,39 +0,0 @@ -DESCRIPTION = "TI compat-bluetooth drivers" -HOMEPAGE = "https://gforge.ti.com/gf/project/ecs_nlcp/" -SECTION = "kernel/modules" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7" - -inherit module - -RDEPENDS_${PN} = "ti-compat-wireless-wl12xx" - -PR = "${MACHINE_KERNEL_PR}" -PR_append = "b" - -COMPAT_BLUETOOTH_VERSION = "2012-11-19-r5-sp3" -TAG = "${@'${COMPAT_BLUETOOTH_VERSION}'.replace('-', '')}" -PV = "0.${TAG}" - -SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/802/5435/ti-compat-bluetooth-2012-02-20.tar.gz \ - file://0001-compat-bluetooth-2.6-removed-unused-BT-modules-from-.patch \ - file://0002-Bluetooth-Fix-l2cap-conn-failures-for-ssp-devices.patch \ - file://0001-compat-bluetooth-fixing-kernel-panic-in-l2cap.patch \ - " - -SRC_URI[md5sum] = "7c231b35a2297391b5192f86ff4f10dd" -SRC_URI[sha256sum] = "d8882da8bb37821bfd0b9334b859f64d0ce82ae5262360367a3f3fdf31c7f350" - -S = "${WORKDIR}/compat-bluetooth/" - -EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}" - -do_configure() { - cd ${S} - ./scripts/driver-select bt -} - -do_install() { - oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules - find ${D} -name compat.ko | xargs rm -} diff --git a/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.sp3.05.bb b/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.sp3.05.bb new file mode 100644 index 0000000..f49bcb0 --- /dev/null +++ b/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.sp3.05.bb @@ -0,0 +1,12 @@ +require ti-compat-bluetooth.inc + +PR_append = "-r0" + +SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/802/5435/ti-compat-bluetooth-2012-02-20.tar.gz \ + file://0001-compat-bluetooth-2.6-removed-unused-BT-modules-from-.patch \ + file://0002-Bluetooth-Fix-l2cap-conn-failures-for-ssp-devices.patch \ + file://0001-compat-bluetooth-fixing-kernel-panic-in-l2cap.patch \ +" + +SRC_URI[md5sum] = "7c231b35a2297391b5192f86ff4f10dd" +SRC_URI[sha256sum] = "d8882da8bb37821bfd0b9334b859f64d0ce82ae5262360367a3f3fdf31c7f350" -- 1.7.0.4