Return-Path: Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by arago-project.org (Postfix) with ESMTPS id 8424A529A3 for ; Wed, 20 Mar 2013 09:30:34 +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 r2K9UVcl002294 for ; Wed, 20 Mar 2013 04:30:32 -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 r2K9UUn5020925 for ; Wed, 20 Mar 2013 15:00:31 +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; Wed, 20 Mar 2013 15:00:30 +0530 Received: from user-VirtualBox.emea.dhcp.ti.com (dbdp20.itg.ti.com [172.24.170.38]) by dbdp32.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2K9URxH013496; Wed, 20 Mar 2013 15:00:28 +0530 From: Eyal Reizer To: Date: Wed, 20 Mar 2013 11:30:09 +0200 Message-ID: <1363771816-4022-2-git-send-email-eyalr@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Subject: [PATCHv3 2/9] wl18xx-firmware: install Wilink8 wlan firmware files 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: Wed, 20 Mar 2013 09:30:37 -0000 Content-Type: text/plain Add a recipe for installing the Wilink8 wlan firmware files into the target file system. This package replace the wilink6 package which is provided by the wl12xx-firmware recipe. Selection between the two is done using a "WILINK_VERSION" switch added to arago.conf Changes in v2: * Use an actual release name in the recipe name instead of _git * Add RPROVIDES, RREPLACES, RCONFLICTS as this recipe completely replace the wilink6 one. Changes in v3: * Add _${PN} to all runtime variables Signed-off-by: Eyal Reizer --- .../wl18xx-firmware/wl18xx-firmware/Makefile | 7 +++++ .../wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb | 30 ++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware/Makefile create mode 100644 meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb diff --git a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware/Makefile b/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware/Makefile new file mode 100644 index 0000000..0bb7ab8 --- /dev/null +++ b/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware/Makefile @@ -0,0 +1,7 @@ +# Installs the the ti-connectiviy wlan firmware files into the root file system + +install: + install -d $(DEST_DIR)/lib/firmware/ti-connectivity + cp -RpP * $(DEST_DIR)/lib/firmware/ti-connectivity/ + rm -f $(DEST_DIR)/lib/firmware/ti-connectivity/Makefile + diff --git a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb b/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb new file mode 100644 index 0000000..fd463cc --- /dev/null +++ b/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "Firmware files for use with TI wl18xx" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM = "file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969" + +PACKAGE_ARCH = "all" + +PR = "r1+gitr${SRCREV}" + +PROVIDES += "wl12xx-firmware" +RPROVIDES_${PN} += "wl12xx-firmware" +RREPLACES_${PN} += "wl12xx-firmware" +RCONFLICTS_${PN} += "wl12xx-firmware" + +SRCREV = "ol_r8.a6.01" +SRC_URI = "git://github.com/TI-OpenLink/wl18xx_fw.git;protocol=git \ + file://Makefile \ + " + +S = "${WORKDIR}/git" + +do_compile() { + : +} + +do_install() { + cp ${WORKDIR}/Makefile ${S} + oe_runmake 'DEST_DIR=${D}' install +} + +FILES_${PN} = "/lib/firmware/ti-connectivity/*" -- 1.7.9.5