18xx-ti-utils: new package
RFC PATCH 1/1 18xx-ti-utils: new package
These are spacial RF calibration utilities for the TI Wilink 18xx modules.
---
I encountered strange behaviour with this package. Simple 'make' does not build the package even when 'BR2_18XX_TI_UTILS=y' is in my .config. All other packages in my .config build fine. Running 'make 18xx-ti-utils' does build the package, though. 'make printvars' shows the package in PACKAGES_ALL but not in PACKAGES.
I might have missed something obvious. Maybe someone on the list can enlighten me.
--- DEVELOPERS | 1 + package/18xx-ti-utils/18xx-ti-utils.mk | 28 ++++++++++++++++++++++++++++ package/18xx-ti-utils/Config.in | 10 ++++++++++ package/Config.in | 1 + 4 files changed, 40 insertions(+) create mode 100644 package/18xx-ti-utils/18xx-ti-utils.mk create mode 100644 package/18xx-ti-utils/Config.in
DEVELOPERS +1 -0
@@ -203,6 +203,7 @@ F: package/pulseview/ F: package/sigrok-cli/ N: Baruch Siach <[email protected]> +F: package/18xx-ti-utils/ F: package/daemon/ F: package/dropbear/ F: package/ebtables/
package/18xx-ti-utils/18xx-ti-utils.mk new file +28 -0
@@ -0,0 +1,28 @@ +################################################################################ +# +# 18xx-ti-utils +# +################################################################################ + +18XX_TI_UTILS_VERSION = R8.7_SP3 +18XX_TI_UTILS_SITE = git://git.ti.com/wilink8-wlan/18xx-ti-utils +18XX_TI_UTILS_DEPENDENCIES = libnl + +18XX_TI_UTILS_CFLAGS = -I$(STAGING_DIR)/usr/include/libnl3 -DCONFIG_LIBNL32 + +ifeq ($(BR2_STATIC_LIBS),y) +18XX_TI_UTILS_BUILD_TARGET = static +endif + +define 18XX_TI_UTILS_BUILD_CMDS + $(TARGET_MAKE_ENV) CROSS_COMPILE=$(TARGET_CROSS) \ + NFSROOT=/noexistent NLVER=3 $(MAKE) -C $(@D) \ + CFLAGS="$(TARGET_CFLAGS) $(18XX_TI_UTILS_CFLAGS)" \ + $(18XX_TI_UTILS_BUILD_TARGET) +endef + +define 18XX_TI_UTILS_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 $(@D)/calibrator $(TARGET_DIR)/usr/bin/calibrator +endef + +$(eval $(generic-package))
package/18xx-ti-utils/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_18XX_TI_UTILS + bool "18xx-ti-utils" + select BR2_PACKAGE_LIBNL + help + TI Wilink calibration utilities. + + CONFIG_NL80211_TESTMODE must be enabled in the kernel + configuration for this package to work. + + http://processors.wiki.ti.com/index.php/WL18xx_TX_Testing
package/Config.in +1 -0
@@ -374,6 +374,7 @@ menu "Firmware" source "package/wilink-bt-firmware/Config.in" source "package/zd1211-firmware/Config.in" endmenu + source "package/18xx-ti-utils/Config.in" source "package/a10disp/Config.in" source "package/acpica/Config.in" source "package/acpid/Config.in"
Signature · 1 line
2.15.1
RFC PATCH 1/1 18xx-ti-utils: new package
Hello,
Quoted 8 lines · Baruch Siach
These are spacial RF calibration utilities for the TI Wilink 18xx modules.
Signed-off-by Baruch Siach <[email protected]>---
I encountered strange behaviour with this package. Simple 'make' does not build the package even when 'BR2_18XX_TI_UTILS=y' is in my .config.
Well, because it should be BR2_PACKAGE_<something>...
Quoted 1 line
+config
BR2_18XX_TI_UTILS
... here.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com
RFC PATCH 1/1 18xx-ti-utils: new package
Hi Thomas,
Quoted 7 lines · Thomas Petazzoni
Quoted 6 lines · Baruch Siach
These are spacial RF calibration utilities for the TI Wilink 18xx modules.
Signed-off-by Baruch Siach <[email protected]>---
Quoted 8 lines
Quoted 2 lines
I encountered strange behaviour with this package. Simple 'make' does not build the package even when 'BR2_18XX_TI_UTILS=y' is in my .config.
Well, because it should be BR2_PACKAGE_<something>...
Quoted 1 line
+config
BR2_18XX_TI_UTILS... here.
Thanks. I had the feeling that this is something obvious.
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -