Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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
783342c423 Add ELF linker script for import build 2014-09-05 16:20:45 -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
Gregory Nutt
662cec59c6 Add the .config file to the export package 2014-09-05 07:39:04 -06:00
Gregory Nutt
ae4cb48a06 Add tmp/ directory to .gitignore 2014-09-04 17:09:13 -06:00
Gregory Nutt
27232d05eb Add .gitignore file 2014-09-04 17:07:23 -06:00
Gregory Nutt
002cfbe348 Beginning of logic that will, hopefully, all me to build applications against a NuttX export package (vs. the nuttx/ source tree). 2014-09-04 15:54:51 -06:00