SPRESENSE
63cd701958
Makefile: Unify ROOTDEPPATH into DEPPATH
...
DEPPATH is commonly used in nuttx repo, so it to be the same with them.
2020-07-29 15:22:20 +02:00
Xiang Xiao
deaa6c5b7b
build: Replace $(TOPDIR)/Make.defs with $(APPDIR)/Make.defs
...
and move NUTTXLIB defintion to the common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-09 15:17:37 -03:00
Xiang Xiao
b217de70e5
apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE
...
since it is moved to the central place in nuttx side instead
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I544d6110f1ca6460f7c82f970870aa9b1e7ab3dd
2020-07-01 10:03:12 -06:00
Xiang Xiao
ead498a788
build: Remove the workaround for the inexistence of .config/Make.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
liuhaitao
d89d8b1a2c
Remove the additional UNLINKDIR to fix parallel build break
2020-02-24 22:54:35 +00:00
Gregory Nutt
3a23523147
Makefiles: This reverts part of commit cf0365ea9
. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured.
2019-10-15 09:25:48 +08:00
Xiang Xiao
cf0365ea92
Clean up Makefile under apps folder no functional changes.
2019-10-04 08:35:46 -06:00
Gregory Nutt
496dd934cb
apps/platform/Makefile: Fix missing dependency path in Makefile.
2018-09-03 10:39:14 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -06:00
Gregory Nutt
401687c04b
apps/Makefile and platform/Makefile: At clean_context targets that are now invoked from the main nuttx/Makefile.
2018-05-31 14:48:00 -06:00
Gregory Nutt
0509c48ca3
Various fixes necessary to build the simulator under MSYS.
2018-05-31 13:26:18 -06:00
Gregory Nutt
7a8561728c
The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes the libapps.a will not be deleted on Control-C (unproven so far). However, $(BIN) may contain back slashes in some build platforms and that causes problems for make: It can't handle the backslashes in the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a, where the number of ../ depends on the depth of the Makefile in the apps/ source tree.
2017-08-13 11:03:17 -06:00
Gregory Nutt
a66da34f18
All Makefiles: Add .PRECIOUS: apps/libapps.a to every Makefile. Hopefully this will end awkward problems when you Control-C out of a build and libapps.a is deleted.
2017-08-13 09:35:14 -06:00
Gregory Nutt
013a8a0774
platform/Makefile: More attempts to fix for Windows native build.
2017-07-06 20:17:56 -06:00
Jeff
175610de48
Windows build fixes: Backslash as a delimiter causes problems in pattern subsitutions
2017-07-06 14:27:16 -06:00
Gregory Nutt
041d0d2c68
apps/platform: Fix an error in dependency generation introduced with last changes
2017-05-13 12:36:25 -06:00
Gregory Nutt
7a21692496
apps/platform: Create gnu/ subdirectory that contains the one and only GNU C++ initialization function. Remove all other C++ initialization functions.
2017-05-13 12:06:01 -06:00
Gregory Nutt
28c397b3ce
Add the dirlinks target to some Makefiles. This plugs some wholes open by last chicken-and-egg build fix
2016-07-28 12:00:03 -06:00
Sebastien Lorquet
bfff5e7179
Add empty preconfig rules to 'leaf' makefiles
2016-06-02 16:24:30 +02:00
Gregory Nutt
0fcc63b642
I don't think it is necessary to create the apps/platform/board link when cleaning
2016-05-10 18:32:31 -06:00
Gregory Nutt
1106658ab1
Another minor Makefile improvement for the case of no .config file
2016-05-10 18:25:13 -06:00
Gregory Nutt
0a33420e02
apps/platform/Makefile: .config should not be a .PHONY target
2016-05-10 16:40:16 -06:00
Gregory Nutt
29e8b8e059
Several Makefiles: Add .PHONY definitions to prevent 'clean up to date' message weirdness; Add default definitions for some commonly used things when 'make clean' is used without .config or Make.defs files installed.
2016-05-10 15:40:20 -06:00
Gregory Nutt
1fc6fd9694
apps/platform/Makefile: Use a relative path to the board directory link rather than the absolute path. For Cygwin, the absolute would would need converted with cygpath. But just using the relative path is a simpler solution.
2016-01-27 14:19:47 -06:00
Gregory Nutt
1c82d1d4a6
apps/platform masks the assumption that the board directory in in-tree
2015-05-22 11:39:19 -06:00
Gregory Nutt
25eee811c1
apps/platform/Makefile: Add a default defintion for DELIM. Apparently it may not be present in certain causes during 'make distclean'. From Michal Ulianko (SourceForge patch #47
2015-02-18 09:49:55 -06:00
Gregory Nutt
d6bcd1a93a
Add an install target to all makefiles. For the import build, the top-level Makefile now does two passes: (1) builds libapp.a, then (2) installs the programs (not yet finished)
2014-09-06 08:00:47 -06:00
Gregory Nutt
f942fe139d
Some Windows native build fixes
2014-02-07 09:29:02 -06:00
Gregory Nutt
dc7f894963
apps/platform/Makefile was not dealing with the bin subdirectory correctly
2013-11-02 11:04:12 -06:00
Gregory Nutt
891d1892e5
Extend stack debug logic to include IDLE and interrupt stacks. Also color the heap as well. Based on suggestions from David Sidrane
2013-11-01 11:16:51 -06:00
Gregory Nutt
e1fbe0ba0d
apps/platform: A new now for platform-specific applicatin code
2013-10-30 09:04:37 -06:00