From: Miken Valabdas <mvalabdas@distech-controls.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/18xx-ti-utils: update makefile in order to compile wlconf
Date: Wed, 16 Sep 2020 17:01:46 -0400 [thread overview]
Message-ID: <20200916210146.12836-1-mvalabdas@distech-controls.com> (raw)
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
next reply other threads:[~2020-09-16 21:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-16 21:01 Miken Valabdas [this message]
2020-09-17 20:15 ` [Buildroot] [PATCH] package/18xx-ti-utils: update makefile in order to compile wlconf Thomas Petazzoni
-- strict thread matches above, loose matches on Subject: below --
2020-09-16 20:35 Miken Valabdas
2020-09-16 13:58 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200916210146.12836-1-mvalabdas@distech-controls.com \
--to=mvalabdas@distech-controls.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox