[oe-commits] Koen Kooi : tiwlan-wl1271: add kernel drivers and loaders for the wifi portion of a wl1271 chipset

git version control git at git.openembedded.org
Tue Oct 19 14:07:00 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 91dfafe51667a4b6139ea7038234ec8646c38093
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=91dfafe51667a4b6139ea7038234ec8646c38093

Author: Koen Kooi <koen at openembedded.org>
Date:   Tue Oct 19 15:01:03 2010 +0200

tiwlan-wl1271: add kernel drivers and loaders for the wifi portion of a wl1271 chipset

* based on the ubuntu makefiles, so still a messy wrt OE style

---

 recipes/wl12xx/tiwlan-wl1271_0.24.9.bb |   41 ++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/recipes/wl12xx/tiwlan-wl1271_0.24.9.bb b/recipes/wl12xx/tiwlan-wl1271_0.24.9.bb
new file mode 100644
index 0000000..3b822f9
--- /dev/null
+++ b/recipes/wl12xx/tiwlan-wl1271_0.24.9.bb
@@ -0,0 +1,41 @@
+DESCRIPTION = "Driver and loader apps for wl1271 based chipsets"
+LICENSE = "GPLv2 TI"
+
+inherit module
+
+SRC_URI = "https://edge.launchpad.net/~tiomap-dev/+archive/release/+files/tiwlan-wl1271_${PV}.orig.tar.gz"
+SRC_URI[md5sum] = "12a26535b4f3c30b24c6a1ae00d84ea0"
+SRC_URI[sha256sum] = "60a64c8c3daee9dc897a8918e2f082bcfcb4a3dbd66c013978e331e1c8e6127b"
+
+MACHINE_KERNEL_PR_append = "a"
+
+PARALLEL_MAKE = ""
+
+do_compile() {
+	unset CFLAGS CPPFLAGS CXXFLAGS
+	oe_runmake ${MODULE_MAKE_FLAGS} AR=ar KERNEL_DIR=${STAGING_KERNEL_DIR} -C wlan/platforms/os/linux HOST_PLATFORM=sdc4430 BUILD_SUPPL=n CU_DK
+	unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+	cd wlan
+	oe_runmake ${MODULE_MAKE_FLAGS} AR=ar KERNEL_DIR=${STAGING_KERNEL_DIR} -C platforms/os/linux HOST_PLATFORM=sdc4430 BUILD_SUPPL=n ../../../platforms/os/linux/tiwlan_drv.ko sdio
+}
+
+
+do_install() {
+	install -d ${D}${bindir}
+	install -m 755 "wlan/CUDK/output/tiwlan_loader" "${D}${bindir}/tiwlan_loader_wl1271"
+	install -m 755 "wlan/CUDK/output/wlan_cu" "${D}${bindir}/wlan_cu_wl1271"
+
+	install -d ${D}/lib/firmware/tiwlan-wl1271
+	install -m 644 "wlan/platforms/os/linux/tiwlan.ini" ${D}/lib/firmware/tiwlan-wl1271
+	install -m 644 "wlan/platforms/os/linux/tiwlan_dual.ini" ${D}/lib/firmware/tiwlan-wl1271
+
+    mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/sdio
+	cp wlan/platforms/os/linux/tiwlan_drv.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/sdio
+	cp wlan/external_drivers/sdc4430/Linux/sdio/sdio.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/sdio
+}
+
+PACKAGES =+ "tiwlan-wl1271-apps"
+
+FILES_${PN} += "${base_libdir}/firmware"
+FILES_tiwlan-wl1271-apps = "${bindir}"
+





More information about the Openembedded-commits mailing list