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
chao.an
aaa61346c9
make/import: move the binary install to the top Makefile
...
move the binary install to the main Makefile to support
link extra libraries
Change-Id: I6db8a244ec9975163ea0c21fec6468e215c5aedb
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-07-03 23:48:00 -05:00
chao.an
989d1aef13
import: add hex/raw binary support
...
Generate raw binary file
Change-Id: I3af0d9be3fccec99dc0079f745530aa5028723df
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-07-01 07:18:32 -05:00
chao.an
c81a1f9711
make/import: support install nuttx binary in flat build
...
Change-Id: Iaffa86ee9ebd77380424e6d4a0777262685c989f
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-30 00:52:07 +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
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
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
Xiang Xiao
420a8f0794
import/Makefile's: Remove symbol table generation from imports/Makefile to avoid the confusion with the official method.
2019-10-01 07:28:58 -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
2ecc94f5ce
apps/import/Makefile: Eliminate a MAKE sytax error that occurs in some (but not environments) when symtab.c has not been generated.
2018-07-16 08:27:44 -06:00
Gregory Nutt
878fa8afd5
Squashed commit of the following:
...
cosmetic
import/: Add Makefile.symtab which can be used to compile the dynamically created symbol table C file.
Add tools/mksymtab.sh
2018-07-15 11:21:53 -06:00
Gregory Nutt
6aa3e57004
Triva typo fixed. Also modify weird definition in import/Makefile. Still weird, but at least the directory exists.
2018-05-31 15:31:31 -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
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
e8ab24001d
Flesh out apps/import/Make.defs a little
2014-09-05 09:16:08 -06:00
Gregory Nutt
662cec59c6
Add the .config file to the export package
2014-09-05 07:39:04 -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