Commit Graph

90 Commits

Author SHA1 Message Date
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
69f013e74e build: Remve the unnecessary .gitignore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-23 15:56:35 +01: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
Gregory Nutt
b2d8c501f6 Remove use of set_errno() from application code.
The normal assignment errno = errcode should work fine now.
2020-05-07 22:23:19 +01:00
Xiang Xiao
e72608e0d8 Fix nxstyle issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-02 09:45:44 -06:00
Xiang Xiao
1511403fdf Revert "Don't generate .depend anymore"
This reverts commit cc5ad09caa.
2020-03-22 23:09:40 -05:00
Xiang Xiao
cc5ad09caa
Don't generate .depend anymore 2020-03-22 18:15:21 +00:00
liuhaitao
d89d8b1a2c Remove the additional UNLINKDIR to fix parallel build break 2020-02-24 22:54:35 +00:00
Gregory Nutt
40d9e25ac3 apps/platform/.gitignore: Add ZDS-II temp files. 2020-02-23 10:38:16 -06:00
Xiang Xiao
779197c63e Ensure all source code end with one and only one newline
by this command:
git ls-files -z | while IFS= read -rd '' f; do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
2020-02-09 08:14:49 -06:00
Xiang Xiao
1154735ca6 Refine the preprocess conditional guard style 2020-01-31 11:04:10 -06:00
Xiang Xiao
e0dcfa0c55 Remove extra whitespace from files (#43)
* Remove multiple newlines at the end of file
* Remove the white space from the end of line
2020-01-31 08:29:24 -06:00
YAMAMOTO Takashi
b6890df58d Fix a build on macOS
On some platforms like macOS, we can't create an empty archive.
2020-01-29 09:03:01 +01:00
Xiang Xiao
7808eb62d2 apps/: In all Make.def files, append to CONFIGURED_APPS patch with the absolute path. 2019-10-17 11:33:59 -06: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
Xiang Xiao
9a27d4a697 Makefiles: Remove .PRECIOUS if Makefile doesn't touch libapps. 2019-10-01 11:48:55 -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
c8ae5f1674 platform/mikroe-stm32f4: Update for some coding standard issues. 2017-06-14 12:01:13 -06:00
Gregory Nutt
b08ea68a33 Move prototype from nuttx/include/nuttx/arch.h to apps/include/platform/cxxinitialize.h 2017-05-13 16:53:33 -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
Juha Niskanen
cf866aa6fb Add platform files for nucleo-l452re and nucleo-l496zg 2017-05-08 09:19:28 +03:00
Gregory Nutt
3b959bdf4e Clicker2-STM32: Correct name of platform directory 2017-03-22 11:00:49 -06:00
Gregory Nutt
dff912dc7c Clicker-STM32: Add platform directory w/ C++ support 2017-03-22 10:51:38 -06:00
Alan Carvalho de Assis
602e7fe9b1 Add c++ platform/bambino-200e with C++ initialization 2017-03-08 16:34:39 -06:00
raiden00pl
eda07c730d Add platform files for nucleo-f334r8 2017-02-26 10:58:42 +01:00
Gregory Nutt
56397f59fc Add platform support for the Olimex STM32 P407 2016-12-21 10:55:56 -06:00
Gregory Nutt
8805ef1f72 platform/esp32-core: Fix some naming that prenvented building the C++ support. 2016-11-14 13:46:38 -06:00
Gregory Nutt
0b810c5339 Add platform support for the ESP32 core v2 board 2016-10-31 15:31:53 -06:00
Gregory Nutt
7f59a3f69e apps/platform: Add support for STM32L476-MDK 2016-10-06 07:18:36 -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
Gregory Nutt
a15bd864f5 Move include/nuttx/configdata.h to include/nuttx/mtd/configdata.h 2016-07-21 13:34:19 -06:00
Sebastien Lorquet
2cbad44f1d This is the Pokemon patch to change all includes fronm <apps/bla/bla.h> to "bla/bla.h" 2016-07-11 10:11:18 -06:00
Mateusz Szafoni
e8172f8399 Add platform files for Olimex STM32 E407 2016-06-27 13:43:39 +02:00
Gregory Nutt
c470872dae apps/platform/Kconfig: Fix an inclusion error. Was including /platform/mikroe-stm32f4/Kconfig. Should include through the symbolic link /platform/board/Kconfig 2016-06-23 09:35:04 -06:00
Gregory Nutt
5098539063 Add _ to front of remaining debug macros 2016-06-16 12:12:34 -06:00
Gregory Nutt
c0a4e00cc9 apps/platform: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-14 14:10:13 -06:00
Gregory Nutt
586b0aa7e0 Change names of *dbg() * *err() 2016-06-11 15:51:27 -06:00
Gregory Nutt
f4bae25e32 Rename *lldbg to *llerr 2016-06-11 14:55:13 -06:00
Gregory Nutt
468bdcf8e6 Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:13:39 -06:00