All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/18xx-ti-utils: update makefile in order to compile wlconf
@ 2020-09-16 13:58 Miken Valabdas
  2020-09-16 14:57 ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Miken Valabdas @ 2020-09-16 13:58 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Miken Valabdas <mvalabdas@distech-controls.com>
---
 package/18xx-ti-utils/18xx-ti-utils.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/18xx-ti-utils/18xx-ti-utils.mk b/package/18xx-ti-utils/18xx-ti-utils.mk
index d1f0388c3a..41ce8ab973 100644
--- a/package/18xx-ti-utils/18xx-ti-utils.mk
+++ b/package/18xx-ti-utils/18xx-ti-utils.mk
@@ -21,6 +21,11 @@ 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)
+
+	$(TARGET_MAKE_ENV) CROSS_COMPILE=$(TARGET_CROSS) \
+		NFSROOT="$(STAGING_DIR)" NLVER=3 $(MAKE) -C $(@D)/wlconf \
+		CFLAGS="$(TARGET_CFLAGS) $(18XX_TI_UTILS_CFLAGS)" \
+		$(18XX_TI_UTILS_BUILD_TARGET)
 endef
 
 define 18XX_TI_UTILS_INSTALL_TARGET_CMDS
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] package/18xx-ti-utils: update makefile in order to compile wlconf
@ 2020-09-16 20:35 Miken Valabdas
  0 siblings, 0 replies; 8+ messages in thread
From: Miken Valabdas @ 2020-09-16 20:35 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Miken Valabdas <mvalabdas@distech-controls.com>
---
Changes v1 -> v2:
  - adjust compilation parameters
---
 package/18xx-ti-utils/18xx-ti-utils.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/18xx-ti-utils/18xx-ti-utils.mk b/package/18xx-ti-utils/18xx-ti-utils.mk
index d1f0388c3a..afe07ba227 100644
--- a/package/18xx-ti-utils/18xx-ti-utils.mk
+++ b/package/18xx-ti-utils/18xx-ti-utils.mk
@@ -21,10 +21,15 @@ 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 \
+		CC="$(HOSTCC)" \
+		CFLAGS="$(HOST_CFLAGS)" \
 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))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] package/18xx-ti-utils: update makefile in order to compile wlconf
@ 2020-09-16 21:01 Miken Valabdas
  2020-09-17 20:15 ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Miken Valabdas @ 2020-09-16 21:01 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Miken Valabdas <mvalabdas@distech-controls.com>
---
Change  v2 -> v3:
  -  typo
Changes v1 -> v2:
  - adjust compilation parameters
---
 package/18xx-ti-utils/18xx-ti-utils.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/18xx-ti-utils/18xx-ti-utils.mk b/package/18xx-ti-utils/18xx-ti-utils.mk
index d1f0388c3a..cbd5096eed 100644
--- a/package/18xx-ti-utils/18xx-ti-utils.mk
+++ b/package/18xx-ti-utils/18xx-ti-utils.mk
@@ -21,10 +21,16 @@ 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 \
+		CC="$(HOSTCC)" \
+		CFLAGS="$(HOST_CFLAGS)"
+		
 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))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-09-17 20:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16 13:58 [Buildroot] [PATCH] package/18xx-ti-utils: update makefile in order to compile wlconf Miken Valabdas
2020-09-16 14:57 ` Thomas Petazzoni
2020-09-16 16:14   ` Valabdas, Miken
2020-09-16 16:28     ` Thomas Petazzoni
2020-09-16 18:52       ` Valabdas, Miken
2020-09-16 20:35 Miken Valabdas
2020-09-16 21:01 Miken Valabdas
2020-09-17 20:15 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.