diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index e602d2cd37..50cc0ace56 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -701,17 +701,30 @@ makefiles in the build (once it is installed). This make fragment should define:
CC, LD, AR, NM, OBJCOPY, OBJDUMPCFLAGS, LDFLAGS
- When this makefile fragment runs, it will be passed TOPDIR which
+ When this makefile fragment runs, it will be passed TOPDIR which
is the path to the root directory of the build. This makefile
- fragment may include ${TOPDIR}/.config to perform configuration
- specific settings. For example, the CFLAGS will most likely be
- different if CONFIG_DEBUG=y.
+ fragment should include:
$(TOPDIR)/.config : Nuttx configuration$(TOPDIR)/tools/Config.mk : Common definitions
+ Definitions in the Make.defs file probably depend on some of the
+ settings in the .config file. For example, the CFLAGS will most likely be
+ different if CONFIG_DEBUG=y.
+
+ The included tools/Config.mk file contains additional definitions that may
+ be overriden in the architecture-specific Make.defs file as necessary:
+
COMPILE, ASSEMBLE, ARCHIVE, CLEAN, and MKDEP macros