diff options
author | Ioan-Adrian Ratiu <adrian.ratiu@ni.com> | 2016-03-22 11:57:16 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-03-25 11:27:30 +0100 |
commit | f4958cfc976ece37784c82392b083ba481f69b8f (patch) | |
tree | d68ef4204c93ee79aa2b3738f530b90426965019 | |
parent | 1176e8b746b7f05bea023e7b3c5bd8a5240e9c1f (diff) | |
download | meta-openembedded-f4958cfc976ece37784c82392b083ba481f69b8f.tar.gz |
ti-wifi-utils: add recipe
This recipe is for a TI WiFi calibrator utility [1]. The firmware from
this project is already shipped inside linux-firmware so we do not
package it in this recipe.
[1] http://linuxwireless.sipsolutions.net/en/users/Drivers/wl12xx/#Calibration
Signed-off-by: James Minor <james.minor@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-connectivity/ti-wifi-utils/ti-wifi-utils_git.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/ti-wifi-utils/ti-wifi-utils_git.bb b/meta-oe/recipes-connectivity/ti-wifi-utils/ti-wifi-utils_git.bb new file mode 100644 index 000000000..fcae72994 --- /dev/null +++ b/meta-oe/recipes-connectivity/ti-wifi-utils/ti-wifi-utils_git.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "The calibrator and other useful utilities for TI wireless solution based on wl12xx driver" | ||
2 | LICENSE = "BSD-3-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d" | ||
4 | |||
5 | DEPENDS = "libnl" | ||
6 | |||
7 | PV = "0.1+gitr${SRCPV}" | ||
8 | |||
9 | SRCREV = "b03d9ce6362e6d22d6929f2736409af3b0fd3c88" | ||
10 | SRC_URI = "git://github.com/TI-OpenLink/ti-utils.git;branch=r5-jb" | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} \ | ||
15 | CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" \ | ||
16 | CFLAGS="${CFLAGS} -I${STAGING_INCDIR}/libnl3 -DCONFIG_LIBNL20" NLVER=3 \ | ||
17 | LDFLAGS="${LDFLAGS} ${TOOLCHAIN_OPTIONS}" \ | ||
18 | ' | ||
19 | |||
20 | #only install the calibrator utility, firmware is already within linux-firmware | ||
21 | do_install() { | ||
22 | install -d ${D}${bindir} | ||
23 | install -m 0755 calibrator ${D}${bindir}/ | ||
24 | } | ||