Skip to contentSkip to conversation

task-arago-tisdk-connectivity: Create new connectivity tasks

PATCH Superseded Franklin S. Cooper Jr 2 participants 2 messages Oct 18, 2012 – Oct 24, 2012

v4 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 task-arago-tisdk-connectivity: Create new connectivity tasks

From: Franklin S Cooper Jr <[email protected]>

* 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.

---
Version 4 changes:
Removed COMPATIBLE_MACHINE.
Added PACKAGE_ARCH and ALLOW_EMPTY when needed.

Version 3 changes:
Removed bt-obex since it was renamed to bluez-tools which was already added.
Removed recieps from the RDEPENDS if they still haven't been commited to
meta-ti. Only firmware/drivers related recipes fall under this catagory.

 .../task-arago-tisdk-connectivity-sdk-host.bb      |   29 +++++++
 .../task-arago-tisdk-connectivity-sdk-target.bb    |   37 +++++++++
 .../tasks/task-arago-tisdk-connectivity.bb         |   85 ++++++++++++++++++++
 3 files changed, 151 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
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-host.bb new file +29 -0
new file mode 100644
index 0000000..f2f3929
@@ -0,0 +1,29 @@
+DESCRIPTION = "Task to install wlan and bluetooth sources in 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} \
+"
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-target.bb new file +37 -0
new file mode 100644
index 0000000..29fd828
@@ -0,0 +1,37 @@
+DESCRIPTION = "Task to install wlan and bluetooth sources in 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} \
+"
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity.bb new file +85 -0

85 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 82 lines · Franklin S. Cooper Jr

From: Franklin S Cooper Jr <[email protected]>

* 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.

---
Version 4 changes:
Removed COMPATIBLE_MACHINE.
Added PACKAGE_ARCH and ALLOW_EMPTY when needed.

Version 3 changes:
Removed bt-obex since it was renamed to bluez-tools which was already added.
Removed recieps from the RDEPENDS if they still haven't been commited to
meta-ti. Only firmware/drivers related recipes fall under this catagory.

 .../task-arago-tisdk-connectivity-sdk-host.bb      |   29 +++++++
 .../task-arago-tisdk-connectivity-sdk-target.bb    |   37 +++++++++
 .../tasks/task-arago-tisdk-connectivity.bb         |   85 ++++++++++++++++++++
 3 files changed, 151 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
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-host.bb new file +29 -0
new file mode 100644
index 0000000..f2f3929
@@ -0,0 +1,29 @@
+DESCRIPTION = "Task to install wlan and bluetooth sources in 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} \
+"
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-target.bb new file +12 -0
new file mode 100644
index 0000000..29fd828
@@ -0,0 +1,37 @@
+DESCRIPTION = "Task to install wlan and bluetooth sources in 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

meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-target.bb line 22

Quoted 10 lines
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-target.bb new file +10 -0
+BLUETOOTH_STACK = "\
+    bluez4-dev \
+    openobex-dev \
+"
+
+CONNECTIVITY_RDEPENDS = ""
+
+CONNECTIVITY_RDEPENDS_am37x-evm = "\
+    ${BLUETOOTH_STACK} \
+     wpa-supplicant-dev \

Is it 4 spaces or 5?

meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-target.bb line 27

Quoted 5 lines
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-target.bb new file +5 -0
+"
+
+CONNECTIVITY_RDEPENDS_am180x-evm = "\
+    ${BLUETOOTH_STACK} \
+     wpa-supplicant-dev \

Same as above

meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-target.bb line 32

Quoted 5 lines
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-target.bb new file +5 -0
+"
+
+CONNECTIVITY_RDEPENDS_ti33x  = "\
+    ${BLUETOOTH_STACK} \
+     wpa-supplicant-dev \

And again

Quoted 50 lines
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity-sdk-target.bb new file +5 -0
+"
+
+RDEPENDS_${PN} = "\
+    ${CONNECTIVITY_RDEPENDS} \
+"
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity.bb new file +39 -0
new file mode 100644
index 0000000..8c838f7
@@ -0,0 +1,85 @@
+DESCRIPTION = "Task to install wlan and bluetooth packages into 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 \
+"

meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity.bb line 49

Quoted 10 lines
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity.bb new file +10 -0
+
+BLUETOOTH_STACK = "\
+    bluez4 \
+    bluez4-agent \
+    libasound-module-bluez \
+    bluez-hcidump \
+    openobex \
+    openobex-apps \
+    obexftp \
+    ussp-push \

Can we use consistent spacing at least withing the same recipe? It's 15, then it's 24 and now it's 4...

Quoted 9 lines
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity.bb new file +9 -0
+"
+
+# 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 \
+"

meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity.bb line 68

Quoted 10 lines
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity.bb new file +10 -0
+
+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} \

And here it's 6 spaces...

Quoted 25 lines
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-connectivity.bb new file +17 -0
+"
+
+CONNECTIVITY_RDEPENDS_am180x-evm  = "\
+    ${WLAN_COMMON} \
+    ${BLUETOOTH_STACK} \
+    ${DEMO_APPS} \
+"
+
+CONNECTIVITY_RDEPENDS_ti33x = "\
+    ${WLAN_COMMON} \
+    ${BLUETOOTH_STACK} \
+    ${DEMO_APPS} \
+"
+
+RDEPENDS_${PN} = "\
+    ${CONNECTIVITY_RDEPENDS} \
+"
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago