Return-Path: Received: from mail-ob0-f179.google.com (mail-ob0-f179.google.com [209.85.214.179]) by arago-project.org (Postfix) with ESMTPS id BC2A05209D for ; Thu, 25 Oct 2012 02:32:15 +0000 (UTC) Received: by mail-ob0-f179.google.com with SMTP id lz20so1071341obb.38 for ; Wed, 24 Oct 2012 19:32:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=Hvq1GIip7d9GIhWHWhgoQBUzkunn/QDaNKrilonI/LM=; b=IcnEwW1OqEUAyIi80fNlD9LCf3RfUCRUe7zkjvWOKQMdHoKwUq5KhhvPJ+4CriW7uq zUwDj5h7ENbbuyC/GoRzZuwOnS88NYvKGhHc4eB6XqWBvxX7ft23WNvFtL2QLA5MPKbA I36H9lH4DBfQUZKoCSeTmQkKrr0vO6NZGG+rjdzvKFxR7/R5D3wD0xYZu36sshPayxyU 0WQro7Nh2FUdtL1lOwUk24rbIEwlsUo91KIcfL9LeL3BIEuRZoRzs/6olDRkvaimBwyq EX/k54drBie3cTK7xSwfXVrTYbGh1pp2qZ3ZYbWKOCZrgmCUL0t9s5deZMS6bGOOqTsH CjDA== Received: by 10.182.13.6 with SMTP id d6mr14274133obc.92.1351132335299; Wed, 24 Oct 2012 19:32:15 -0700 (PDT) Received: from localhost.localdomain (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id o3sm17300415obk.13.2012.10.24.19.32.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2012 19:32:14 -0700 (PDT) From: "Franklin S. Cooper Jr" To: meta-arago@arago-project.org Date: Wed, 24 Oct 2012 21:32:11 -0500 Message-Id: <1351132331-21206-1-git-send-email-fcooper@ti.com> X-Mailer: git-send-email 1.7.0.4 Cc: Franklin S Cooper Jr Subject: [PATCH v6] task-arago-tisdk-connectivity: Create new connectivity tasks 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: Thu, 25 Oct 2012 02:32:16 -0000 From: Franklin S Cooper Jr * Create new task-arago-tisdk-connectivity task including host and target versions. The contents of these tasks were originally located in task-arago-tisdk-crypto and task-arago-toolchain-tisdk-crypto-host and also the target version. Signed-off-by: Franklin S Cooper Jr --- Version 6 changes: Add back missing forward slash Version 5 changes: Use the standard 4 spaces for indentation Update comments Version 4 changes: Removed COMPATIBLE_MACHINE Added PACKAGE_ARCH and ALLOW_EMPTY when needed. Version 3 changes: Removed bt-objex since it was renamed to bluez-tools which was already added. Removed recipes from the RDEPENDS if they still haven't been commited to meta-ti. .../task-arago-tisdk-connectivity-sdk-host.bb | 30 +++++++ .../task-arago-tisdk-connectivity-sdk-target.bb | 37 ++++++++ .../tasks/task-arago-tisdk-connectivity.bb | 87 ++++++++++++++++++++ 3 files changed, 154 insertions(+), 0 deletions(-) create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-host.bb create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-target.bb create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity.bb diff --git a/meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-host.bb b/meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-host.bb new file mode 100644 index 0000000..40527e7 --- /dev/null +++ b/meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-host.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "Task to install wlan and bluetooth sources into the SDK" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PR = "r0" + +inherit task + +PACKAGE_ARCH = "${MACHINE_ARCH}" +ALLOW_EMPTY = "1" + +FIRMWARE_AND_DRIVERS_SRC = "\ + ti-compat-wireless-wl12xx-src \ + ti-compat-bluetooth-src \ + bt-firmware-src \ + bt-enable-src \ +" + +CONNECTIVITY_RDEPENDS = "" + +# Need to add ${FIRMWARE_AND_DRIVERS_SRC} to the below lists once the recipes +# have been added to meta-ti + +CONNECTIVITY_RDEPENDS_am37x-evm = "" +CONNECTIVITY_RDEPENDS_am180x-evm = "" +CONNECTIVITY_RDEPENDS_ti33x = "" + +RDEPENDS_${PN} = "\ + ${CONNECTIVITY_RDEPENDS} \ +" diff --git a/meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-target.bb b/meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-target.bb new file mode 100644 index 0000000..a60bd34 --- /dev/null +++ b/meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-target.bb @@ -0,0 +1,37 @@ +DESCRIPTION = "Task to install wlan and bluetooth headers and libraries into the SDK" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PR = "r0" + +inherit task + +PACKAGE_ARCH = "${MACHINE_ARCH}" +ALLOW_EMPTY = "1" + +# Bluetooth development packages +BLUETOOTH_STACK = "\ + bluez4-dev \ + openobex-dev \ +" + +CONNECTIVITY_RDEPENDS = "" + +CONNECTIVITY_RDEPENDS_am37x-evm = "\ + ${BLUETOOTH_STACK} \ + wpa-supplicant-dev \ +" + +CONNECTIVITY_RDEPENDS_am180x-evm = "\ + ${BLUETOOTH_STACK} \ + wpa-supplicant-dev \ +" + +CONNECTIVITY_RDEPENDS_ti33x = "\ + ${BLUETOOTH_STACK} \ + wpa-supplicant-dev \ +" + +RDEPENDS_${PN} = "\ + ${CONNECTIVITY_RDEPENDS} \ +" diff --git a/meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity.bb b/meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity.bb new file mode 100644 index 0000000..1cbd0cc --- /dev/null +++ b/meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity.bb @@ -0,0 +1,87 @@ +DESCRIPTION = "Task to install wlan and bluetooth packages into the target FS" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PR = "r0" + +inherit task + +PACKAGE_ARCH = "${MACHINE_ARCH}" +ALLOW_EMPTY = "1" + +# WLAN support packages. +# These are the packages that all platforms use for WLAN support +WLAN_COMMON = "\ + hostap-daemon \ + ti-wifi-utils \ + wireless-tools \ + htop \ + netperf \ + iw \ + crda \ + softap-udhcpd-config \ + oppserver \ + bluez-tools \ + obexd \ + pulseaudio \ + pulseaudio-server \ + pulseaudio-module-loopback \ + pulseaudio-module-bluetooth-discover \ + pulseaudio-module-bluetooth-device \ + eventdump \ + wpa-supplicant \ +" + +FIRMWARE_AND_DRIVERS = "\ + ti-compat-wireless-wl12xx \ + ti-compat-bluetooth \ + bt-firmware \ + bt-enable \ + wl12xx-firmware \ +" + +BLUETOOTH_STACK = "\ + bluez4 \ + bluez4-agent \ + libasound-module-bluez \ + bluez-hcidump \ + openobex \ + openobex-apps \ + obexftp \ + ussp-push \ +" + +# Need to add battleship to the below list once the application has been fixed +DEMO_APPS = "\ + bluetooth-gui \ + wifi-direct-demo \ + wpa-gui-e \ + wl1271-demo \ +" + +CONNECTIVITY_RDEPENDS = "" + +# Need to add ${FIRMWARE_AND_DRIVERS} to the below lists once the recipes have +# been added to meta-ti + +CONNECTIVITY_RDEPENDS_am37x-evm = "\ + ${WLAN_COMMON} \ + ${BLUETOOTH_STACK} \ + ${DEMO_APPS} \ +" + +CONNECTIVITY_RDEPENDS_am180x-evm = "\ + ${WLAN_COMMON} \ + ${BLUETOOTH_STACK} \ + ${DEMO_APPS} \ +" + +CONNECTIVITY_RDEPENDS_ti33x = "\ + ${WLAN_COMMON} \ + ${BLUETOOTH_STACK} \ + ${DEMO_APPS} \ +" + +RDEPENDS_${PN} = "\ + ${CONNECTIVITY_RDEPENDS} \ +" -- 1.7.0.4