Commit Graph

18 Commits

Author SHA1 Message Date
YAMAMOTO Takashi
b2e9b46fb1 import/Make.defs: Avoid flock errors
Sync with tools/Config.mk
2020-02-26 01:07:31 -06:00
Xiang Xiao
cf0365ea92 Clean up Makefile under apps folder no functional changes. 2019-10-04 08:35:46 -06:00
Xiang Xiao
1342426431 Application.mk: Support the ability to change the CFLAGS for the compilation of a single file. Set special compiler options as follows the rule:
sourcefile + fixed suffix "_[A|C|CPP|CXX]FLAGS"

apps/examples/hello/Makefile:
  $(SRCDIR)/hello_main.c_CFLAGS = -DTEST
2019-10-03 06:52:25 -06:00
Xiang Xiao
5d6681dc9f Remove the duplicated build script files from apps/impor/tools. These will now be copied from nuttx/tools when the export package is created. 2019-10-01 07:51:01 -06:00
Gregory Nutt
367093e65c apps/examples/module: Fix some chaos in conditional compilation. 2018-08-07 10:51:04 -06:00
Gregory Nutt
272bdc0d6e apps Makesystem: Fix an error when building apps/ withtout nuttx/, using only the NuttX export package only and assuming that the nuttx/ directory in not even present. In this case, the problem fixed where the apps/Make.defs file was selecting tools from the /tools directory which does not exist because TOPDIR=apps/import. Instead, for this build case, I have not thought of any option but to duplicate scripts as necessary in the apps/tools directory. Also added a top-level target to compile the symbol table. Misc fixes: quoting in scripts, some errors in script syntax. 2018-07-17 10:42:15 -06:00
Gregory Nutt
634dd7709b apps/, Various Makefiles: Fix mixed references to nuttx/lib. These need to be changed to nuttx/staging. 2018-05-30 11:08:13 -06:00
Gregory Nutt
4cdfdaf70c ELF build reuires -fno-common in CFLAGS 2014-09-08 07:57:05 -06:00
Gregory Nutt
1597617001 libapps.a needs to be added to the list of libraries to link against. 2014-09-07 10:45:41 -06:00
Gregory Nutt
b9a650ae8c apps/ make-related fixes. Now builds kernel mode file system 2014-09-06 12:28:30 -06:00
Gregory Nutt
69081d6665 For the kernel build, there is no reason for ELF flags to be different 2014-09-06 10:31:17 -06:00
Gregory Nutt
95679676a1 Need to add CRT0 to every Makefile in apps/examples/tests 2014-09-05 16:05:29 -06:00
Gregory Nutt
a03bd2f1e7 Add libgcc to the set of libraries to link against 2014-09-05 15:35:41 -06:00
Gregory Nutt
5cd3325f7e Provide library names and paths in apps/import/Make.defs 2014-09-05 13:59:20 -06:00
Gregory Nutt
01ece7672d apps/import Make.defs must also define CFLAGS 2014-09-05 12:16:45 -06:00
Gregory Nutt
1193499a4b Copy more logic from nuttx/tools/Config.mk into the Make.defs file. Plus trivial related changes 2014-09-05 11:26:27 -06:00
Gregory Nutt
e8ab24001d Flesh out apps/import/Make.defs a little 2014-09-05 09:16:08 -06:00
Gregory Nutt
27c6a0b830 Add an apps/import Make.defs file. Not much there yet, but it will be needed for 'make import' 2014-09-05 07:39:35 -06:00