You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/03/27 05:04:52 UTC

[incubator-nuttx] 05/07: Config.mk: Provide the default MODULECC/MODULELD

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 18c574d66a93442decb4ee4af046e8039ddb5782
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Thu Mar 26 11:24:03 2020 +0900

    Config.mk: Provide the default MODULECC/MODULELD
    
    In some cases, a separate toolchain is necessary to
    build modules.
    E.g. the sim on macOS, where the native format is Mach-O.
    
    By default, just use CC/LD, which is appropriate for
    the most of platforms.
---
 tools/Config.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tools/Config.mk b/tools/Config.mk
index 04cd151..1472ba5 100644
--- a/tools/Config.mk
+++ b/tools/Config.mk
@@ -363,3 +363,9 @@ define TESTANDREPLACEFILE
 	fi
 endef
 endif
+
+# Some defaults.
+# $(TOPDIR)/Make.defs can override these appropriately.
+
+MODULECC = $(CC)
+MODULELD = $(LD)