Skip to contentSkip to conversation

package/18xx-ti-utils: update makefile in order to compile wlconf

PATCH New Miken Valabdas 2 participants 2 messages Sep 16, 2020 – Sep 17, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/18xx-ti-utils: update makefile in order to compile wlconf

---
Change v2 -> v3:
- typo
Changes v1 -> v2:
- adjust compilation parameters

---
 package/18xx-ti-utils/18xx-ti-utils.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/18xx-ti-utils/18xx-ti-utils.mk +6 -0
index d1f0388c3a..cbd5096eed 100644
@@ -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))
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 package/18xx-ti-utils: update makefile in order to compile wlconf

Quoted 15 lines · On Wed, 16 Sep 2020 17:01:46 -0400 Miken Valabdas via buildroot…

---
Change v2 -> v3:
- typo
Changes v1 -> v2:
- adjust compilation parameters

---
 package/18xx-ti-utils/18xx-ti-utils.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/18xx-ti-utils/18xx-ti-utils.mk +0 -0
index d1f0388c3a..cbd5096eed 100644

package/18xx-ti-utils/18xx-ti-utils.mk define 18XX_TI_UTILS_BUILD_CMDS · line 27

Quoted 7 lines
package/18xx-ti-utils/18xx-ti-utils.mk +4 -0
@@ -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)"

I've replaced CC and CFLAGS here by $(HOST_CONFIGURE_OPTS)

package/18xx-ti-utils/18xx-ti-utils.mk define 18XX_TI_UTILS_BUILD_CMDS · line 28

Quoted 1 line
package/18xx-ti-utils/18xx-ti-utils.mk +1 -0
+		

There was some trailing white space here, so I've simply dropped this line.

Applied to master with those changes, and a slightly improved commit log.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com