mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
build: replace ${TOPDIR} with $(TOPDIR) in Makefile
make the usage consistence Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Abdelatif Guettouche
parent
567962bd62
commit
7faf3c0254
@@ -1538,7 +1538,7 @@ tools/
|
|||||||
|
|
||||||
<h2>2.20 <a name="topmakefile">nuttx/Makefile</a></h2>
|
<h2>2.20 <a name="topmakefile">nuttx/Makefile</a></h2>
|
||||||
<p>
|
<p>
|
||||||
The top-level <code>Makefile</code> in the <code>${TOPDIR}</code> directory contains all of the top-level control
|
The top-level <code>Makefile</code> in the <code>$(TOPDIR)</code> directory contains all of the top-level control
|
||||||
logic to build NuttX.
|
logic to build NuttX.
|
||||||
Use of this <code>Makefile</code> to build NuttX is described <a href="#buildingnuttx">below</a>.
|
Use of this <code>Makefile</code> to build NuttX is described <a href="#buildingnuttx">below</a>.
|
||||||
</p>
|
</p>
|
||||||
@@ -1555,12 +1555,12 @@ tools/
|
|||||||
<p>
|
<p>
|
||||||
<b>Manual Configuration</b>.
|
<b>Manual Configuration</b>.
|
||||||
Configuring NuttX requires only copying the
|
Configuring NuttX requires only copying the
|
||||||
<a href="#boardconfigsubdirs">board-specific configuration files</a> into the top level directory which appears in the make files as the make variable, <code>${TOPDIR}</code>.
|
<a href="#boardconfigsubdirs">board-specific configuration files</a> into the top level directory which appears in the make files as the make variable, <code>$(TOPDIR)</code>.
|
||||||
This could be done manually as follows:
|
This could be done manually as follows:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Copy <code>boards/</code><i><arch-name></i><code>/</code><i><chip-name></i><code>/</code><i><board-name></i><code>/configs/[</code><i><config-dir></i><code>/]Make.defs</code> to <code>${TOPDIR}/Make.defs</code> (see NOTE below),</li>
|
<li>Copy <code>boards/</code><i><arch-name></i><code>/</code><i><chip-name></i><code>/</code><i><board-name></i><code>/configs/[</code><i><config-dir></i><code>/]Make.defs</code> to <code>$(TOPDIR)/Make.defs</code> (see NOTE below),</li>
|
||||||
<li>Copy <code>boards/</code><i><arch-name></i><code>/</code><i><chip-name></i><code>/</code><i><board-name></i><code>/configs/[</code><i><config-dir></i><code>/]defconfig</code> to <code>${TOPDIR}/.config</code></li>
|
<li>Copy <code>boards/</code><i><arch-name></i><code>/</code><i><chip-name></i><code>/</code><i><board-name></i><code>/configs/[</code><i><config-dir></i><code>/]defconfig</code> to <code>$(TOPDIR)/.config</code></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -1679,7 +1679,7 @@ tools/version.h -v 6.1 .version
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
<b>Additional Configuration Steps</b>.
|
<b>Additional Configuration Steps</b>.
|
||||||
The remainder of configuration steps will be performed by <a href="#topmakefile"><code>${TOPDIR}/Makefile</code></a>
|
The remainder of configuration steps will be performed by <a href="#topmakefile"><code>$(TOPDIR)/Makefile</code></a>
|
||||||
the first time the system is built as described below.
|
the first time the system is built as described below.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -1689,11 +1689,11 @@ tools/version.h -v 6.1 .version
|
|||||||
Once NuttX has been configured as described <a href="#configuringnuttx">above</a>, it may be built as follows:
|
Once NuttX has been configured as described <a href="#configuringnuttx">above</a>, it may be built as follows:
|
||||||
</p>
|
</p>
|
||||||
<ul><pre>
|
<ul><pre>
|
||||||
cd ${TOPDIR}
|
cd $(TOPDIR)
|
||||||
make
|
make
|
||||||
</pre></ul>
|
</pre></ul>
|
||||||
<p>
|
<p>
|
||||||
The <code>${TOPDIR}</code> directory holds:
|
The <code>$(TOPDIR)</code> directory holds:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>The top level <a href="#topmakefile"><code>Makefile</code></a> that controls the NuttX build.
|
<li>The top level <a href="#topmakefile"><code>Makefile</code></a> that controls the NuttX build.
|
||||||
@@ -1715,13 +1715,13 @@ The specific environmental definitions are unique for each board but should incl
|
|||||||
These additional steps include:
|
These additional steps include:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Auto-generating the file <code>include/nuttx/config.h</code> using the <code>${TOPDIR}/.config</code> file.</li>
|
<li>Auto-generating the file <code>include/nuttx/config.h</code> using the <code>$(TOPDIR)/.config</code> file.</li>
|
||||||
<li>Auto-generating the file <code>${TOPDIR}/.version</code> with version 0.0 if one does not exist.</li>
|
<li>Auto-generating the file <code>$(TOPDIR)/.version</code> with version 0.0 if one does not exist.</li>
|
||||||
<li>Auto-generating the file <code>include/nuttx/version.h</code> using the <code>${TOPDIR}/.version</code> file.</li>
|
<li>Auto-generating the file <code>include/nuttx/version.h</code> using the <code>$(TOPDIR)/.version</code> file.</li>
|
||||||
<li>Creating a link to <code>${TOPDIR}/arch/</code><i><arch-name></i><code>/include</code> at <code>${TOPDIR}/include/arch</code>.</li>
|
<li>Creating a link to <code>$(TOPDIR)/arch/</code><i><arch-name></i><code>/include</code> at <code>$(TOPDIR)/include/arch</code>.</li>
|
||||||
<li>Creating a link to <code>${TOPDIR}/boards/</code><i><arch-name></i><code>/</code><i><chip-name></i><code>/</code><i><board-name></i><code>/include</code> at <code>${TOPDIR}/include/arch/board</code>.</li>
|
<li>Creating a link to <code>$(TOPDIR)/boards/</code><i><arch-name></i><code>/</code><i><chip-name></i><code>/</code><i><board-name></i><code>/include</code> at <code>$(TOPDIR)/include/arch/board</code>.</li>
|
||||||
<li>Creating a link to <code>${TOPDIR}/boards/</code><i><arch-name></i><code>/</code><i><chip-name></i><code>/</code><i><board-name></i><code>/src</code> at <code>${TOPDIR}/arch/</code><i><arch-name></i><code>/src/board</code></li>
|
<li>Creating a link to <code>$(TOPDIR)/boards/</code><i><arch-name></i><code>/</code><i><chip-name></i><code>/</code><i><board-name></i><code>/src</code> at <code>$(TOPDIR)/arch/</code><i><arch-name></i><code>/src/board</code></li>
|
||||||
<li>Creating a link to <code>${APPDIR}/include</code> at <code>${TOPDIR}/include/apps</code></li>
|
<li>Creating a link to <code>${APPDIR}/include</code> at <code>$(TOPDIR)/include/apps</code></li>
|
||||||
<li>Creating make dependencies.
|
<li>Creating make dependencies.
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-a$(DELIM)Toolchain.defs
|
include $(TOPDIR)$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-a$(DELIM)Toolchain.defs
|
||||||
|
|
||||||
LDSCRIPT = sdram.ld
|
LDSCRIPT = sdram.ld
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-a/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-a/Toolchain.defs
|
||||||
|
|
||||||
# Setup for the kind of memory that we are executing from
|
# Setup for the kind of memory that we are executing from
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/arm/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/arm/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,10 +33,10 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/boards/arm/cxd56xx/spresense/scripts/Config.mk
|
include $(TOPDIR)/boards/arm/cxd56xx/spresense/scripts/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
# Setup for the kind of memory that we are executing from
|
# Setup for the kind of memory that we are executing from
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/arm/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/arm/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
|
|
||||||
LDSCRIPT = efm32-g8xx-stk.ld
|
LDSCRIPT = efm32-g8xx-stk.ld
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
|
|
||||||
LDSCRIPT = ld.script
|
LDSCRIPT = ld.script
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
|
|
||||||
LDSCRIPT = ld.script
|
LDSCRIPT = ld.script
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-a$(DELIM)Toolchain.defs
|
include $(TOPDIR)$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-a$(DELIM)Toolchain.defs
|
||||||
|
|
||||||
LDSCRIPT = dramboot.ld
|
LDSCRIPT = dramboot.ld
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARMV7M_DTCM),y)
|
ifeq ($(CONFIG_ARMV7M_DTCM),y)
|
||||||
LDSCRIPT = flash-dtcm.ld
|
LDSCRIPT = flash-dtcm.ld
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
LDSCRIPT1 = memory.ld
|
LDSCRIPT1 = memory.ld
|
||||||
LDSCRIPT2 = kernel-space.ld
|
LDSCRIPT2 = kernel-space.ld
|
||||||
|
|||||||
@@ -34,9 +34,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CXX = $(CROSSDEV)g++
|
CXX = $(CROSSDEV)g++
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARMV7M_DTCM),y)
|
ifeq ($(CONFIG_ARMV7M_DTCM),y)
|
||||||
LDSCRIPT = flash-dtcm.ld
|
LDSCRIPT = flash-dtcm.ld
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
LDSCRIPT1 = memory.ld
|
LDSCRIPT1 = memory.ld
|
||||||
LDSCRIPT2 = kernel-space.ld
|
LDSCRIPT2 = kernel-space.ld
|
||||||
|
|||||||
@@ -34,9 +34,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
CC = $(CROSSDEV)gcc
|
CC = $(CROSSDEV)gcc
|
||||||
CXX = $(CROSSDEV)g++
|
CXX = $(CROSSDEV)g++
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_BOOT_RUNFROMFLASH),y)
|
ifeq ($(CONFIG_BOOT_RUNFROMFLASH),y)
|
||||||
LDSCRIPT = flash.ld
|
LDSCRIPT = flash.ld
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
LDSCRIPT = flash.ld
|
LDSCRIPT = flash.ld
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -34,9 +34,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_CHIP_MK20DX256VLH7),y)
|
ifeq ($(CONFIG_ARCH_CHIP_MK20DX256VLH7),y)
|
||||||
LDSCRIPT = mk20dx256vlh7.ld
|
LDSCRIPT = mk20dx256vlh7.ld
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv6-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv6-m/Toolchain.defs
|
||||||
|
|
||||||
LDSCRIPT = freedom-kl25z.ld
|
LDSCRIPT = freedom-kl25z.ld
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv6-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv6-m/Toolchain.defs
|
||||||
|
|
||||||
LDSCRIPT = freedom-kl26z.ld
|
LDSCRIPT = freedom-kl26z.ld
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv6-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv6-m/Toolchain.defs
|
||||||
|
|
||||||
LDSCRIPT = teensy-lc.ld
|
LDSCRIPT = teensy-lc.ld
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_LC823450_IPL2),y)
|
ifeq ($(CONFIG_LC823450_IPL2),y)
|
||||||
LDSCRIPT = ld-ipl2.script
|
LDSCRIPT = ld-ipl2.script
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
include $(TOPDIR)$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
include $(TOPDIR)$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
include $(TOPDIR)$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
include $(TOPDIR)$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
include $(TOPDIR)$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
||||||
|
|
||||||
# Setup for the kind of memory that we are executing from
|
# Setup for the kind of memory that we are executing from
|
||||||
|
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
include $(TOPDIR)$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
include $(TOPDIR)$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
include $(TOPDIR)$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -38,9 +38,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
include $(TOPDIR)$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -39,9 +39,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
include $(TOPDIR)$(DELIM)arch$(DELIM)arm$(DELIM)src$(DELIM)armv7-m$(DELIM)Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -39,9 +39,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/armv7-m/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/arm/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/arm/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
include ${TOPDIR}/.config
|
include $(TOPDIR)/.config
|
||||||
include ${TOPDIR}/tools/Config.mk
|
include $(TOPDIR)/tools/Config.mk
|
||||||
include ${TOPDIR}/arch/arm/src/arm/Toolchain.defs
|
include $(TOPDIR)/arch/arm/src/arm/Toolchain.defs
|
||||||
|
|
||||||
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
ifeq ($(CONFIG_CYGWIN_WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user