aboutsummaryrefslogtreecommitdiff
path: root/package/18xx-ti-utils/18xx-ti-utils.mk
diff options
context:
space:
mode:
authorGravatar Miken Valabdas <mvalabdas@distech-controls.com>2020-09-16 17:01:46 -0400
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-09-17 21:56:15 +0200
commitdd5a0afca990f24a345b90c71112b8039a8a8546 (patch)
treef150eb2dafa70690ede9a84bd948572d02087fff /package/18xx-ti-utils/18xx-ti-utils.mk
parent4f6ef93b72733bb36d23bc60cb31909743c6a67d (diff)
downloadbuildroot-dd5a0afca990f24a345b90c71112b8039a8a8546.tar.gz
buildroot-dd5a0afca990f24a345b90c71112b8039a8a8546.tar.bz2
package/18xx-ti-utils: build/install wlconf as a host utility
wlconf is build and installed as a host utility to be able to tweak the wl18xx firmware configuration at build time. Signed-off-by: Miken Valabdas <mvalabdas@distech-controls.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/18xx-ti-utils/18xx-ti-utils.mk')
-rw-r--r--package/18xx-ti-utils/18xx-ti-utils.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/18xx-ti-utils/18xx-ti-utils.mk b/package/18xx-ti-utils/18xx-ti-utils.mk
index d1f0388c3a..625127d709 100644
--- a/package/18xx-ti-utils/18xx-ti-utils.mk
+++ b/package/18xx-ti-utils/18xx-ti-utils.mk
@@ -21,10 +21,14 @@ define 18XX_TI_UTILS_BUILD_CMDS
NFSROOT="$(STAGING_DIR)" NLVER=3 $(MAKE) -C $(@D) \
CFLAGS="$(TARGET_CFLAGS) $(18XX_TI_UTILS_CFLAGS)" \
$(18XX_TI_UTILS_BUILD_TARGET)
+
+ $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/wlconf \
+ $(HOST_CONFIGURE_OPTS)
endef
define 18XX_TI_UTILS_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 $(@D)/calibrator $(TARGET_DIR)/usr/bin/calibrator
+ $(INSTALL) -m 0755 $(@D)/wlconf/wlconf $(HOST_DIR)/bin/wlconf
endef
$(eval $(generic-package))