Alan Carvalho de Assis
24052710c1
Fix Makefile to create nuttx.bin instead nuttx.elf.bin when EXEEXT is defined
2017-02-10 07:00:13 -06:00
Gregory Nutt
62bc64bc55
Back out last Makefile.unix change. After puzzling about this for a while, I moved the definitions to apps/Make.defs. Also includes some cosmetic changes to GPIO lower half driver comments.
2016-08-02 08:37:30 -06:00
Sebastien Lorquet
a0b624e554
Export DIRLINK and DIRUNLINK from main Makefile, to be able to use that from apps/Application.mk
2016-08-01 17:35:03 -06:00
Gregory Nutt
486212a750
Extend the dirlinks target. This plugs some wholes open by last chicken-and-egg build fix
2016-07-28 11:59:22 -06:00
Gregory Nutt
b27df02b48
Top-Level Makefiles. Fix a chicken-and-egg problem.
...
In the menuconfig target, the context dependency was executed before kconfig-mconf. That was necessary because the link at apps/platform/board needed to be set up before creating the apps/Kconfig file. Otherwise, the platform Kconfig files would not be included. But this introduces the chicken-and-egg problem in some configurations.
In particular: (1) An NX graphics configuration is used that requires auto-generation of source files using cpp, (2) the configuration is set for Linux, but (3) we are running under Cygwin with (4) a Windows native toolchain. In this case, POSIX-style symbolic links are set up but the Windows native toolchain cannot follow them.
The reason we are running 'make menuconfig' is to change from Linux to Cygwin, but the target fails. During the context phase, NX runs CPP to generate source files but that fails because the Windows native toolchain cannot follow the links. Checkmate.
This was fixed by changing all of the make menuconfig (and related) targets. They no long depend on context being run. Instead, they depend only on the dirlinks target. The dirlinks target only sets up the directory links but does not try to run all of the context setup; the compiler is never invoked; no code is autogeneraed; and things work.
2016-07-28 10:36:28 -06:00
Gregory Nutt
a2a47eb334
Move include/nuttx/float.h to include/nuttx/lib/float.h
2016-07-21 14:03:35 -06:00
Gregory Nutt
23a876ab9c
Move include/nuttx/math.h to include/nuttx/lib/math.h
2016-07-21 13:58:09 -06:00
Gregory Nutt
ea589e2d6c
Move include/nuttx/stdarg.h to include/nuttx/lib/stdarg.h
2016-07-21 13:48:20 -06:00
Sebastien Lorquet
bf3691ebf0
Remove the includes/apps link to apps/include. It is no longer used.
2016-07-11 10:53:00 -06:00
Gregory Nutt
fd9c9a7f4f
Add logic to support custom board directories that include a Kconfig file. During the context phase of the build, any Kconfig file in the custom board directory is copied into configs/dummy, replacing the existing Kconfig file with the target Kconfig file.
2016-06-29 11:53:00 -06:00
Gregory Nutt
0f123d2551
This change fixes a build problem that only occurs when reconfiguring from Linux to Windows or vice-versa. It is a problem that was present but not usually experienced until two things happened: (1) The pre_config target was added to run before the menconfig operation and (2) the context target was added before the pre_config target in order to set up the correct symbolic links (in the apps/platform directory) needed by the pre_config target.
...
But then now if you start with a Linux system and run 'make menuconfig' to switch to Linux, the context target will execute first and set up POSIX style symbolic links before doing the menuconfig. Then after the menuconfig, the make will fail on Windows if you are using a Windows native toolchain because that native toolchain cannot follow the Cygwin-style symbolic links.
The first here is to also execute the clean_context AFTER executing menuconfig. A lot more happens now: It used to be that doing 'make menuconfig' only did the menuconfig operation. No it does context, pre_config, menuconfig, clean_context. Not nearly as snappy as it used to be.
2016-06-28 12:40:17 -06:00
Gregory Nutt
170574d331
Add configuration logic to include a Kconfig file in each custom configuration. Includes adding a dummy custom board configuration directory. A consequence of this that each custom board directory will now need to contain a Kconfig file. NOTE also that the new board directory does not take effect in the configuration menues until the NEXT time you run 'make menuconfig'
2016-06-24 07:45:59 -06:00
David Sidrane
aecc033131
Pass toplevel make to the script to allow -j greater than 1
2016-05-05 03:40:16 -06:00
Gregory Nutt
fea11c002a
Build system: Add 'make oldconfig' target. Use this option in tools/testbuild.sh. Add --silent option to tools/refresh.sh so that it can be run in batch without human interaction
2016-03-08 16:50:58 -06:00
Gregory Nutt
586b31abc5
tools/cnvwindeps.c: Need to build this tool even on non-Cygwin platforms (either that or rethink the dependencies).
2016-01-10 13:38:41 -06:00
Gregory Nutt
c5bcfc166d
tools/mkwindeps.sh. A script that coordinates the use of cnvwindeps.exe
2016-01-09 17:27:56 -06:00
Paul A. Patience
b669d080db
Top-level Makefiles: Check if CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH is enabled
2015-12-08 11:09:30 -05:00
Gregory Nutt
97ce03737b
Top-level Makefiles: Add an application pre-configuration target
2015-08-11 17:35:00 -06:00
Gregory Nutt
342f5fe33d
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:08:57 -06:00
Gregory Nutt
30fb2187ad
Fix handling of absolute paths
2015-05-22 11:27:37 -06:00
Gregory Nutt
43409eea31
Move commit library targets out of Makefile.unix and Makeifle.win into a new LibTargets.mk
2014-09-09 14:49:36 -06:00
Gregory Nutt
7743a2d4e2
Don't copy build scripts for kernel build 'make exports'
2014-09-04 12:35:47 -06:00
Gregory Nutt
86aa8f3813
In 'make export', do not copy internal header files if this is a kernel build
2014-09-04 12:19:47 -06:00
Gregory Nutt
b000425e52
In the kernel build, only the user libraries should be exported.
2014-09-04 11:43:41 -06:00
Gregory Nutt
2029236ed0
Back out and replace recent kludges for errno and clock_systimer. There is a cleaner way
2014-08-30 14:26:56 -06:00
Gregory Nutt
351d20717d
Separate flat, protected, and kernel mode library selected into separate files. The conditional logic as exceed my able to comprehend and maintain the selections.
2014-08-30 10:43:58 -06:00
Gregory Nutt
a8de6be1b9
Move Makefile library selections to a separate makefile fragment
2014-08-30 10:07:39 -06:00
Gregory Nutt
1f3633badd
Move Makefile directory selections to a separate makefile fragment
2014-08-30 09:57:44 -06:00
Gregory Nutt
e3ff0689bb
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
2014-08-29 14:47:22 -06:00
Gregory Nutt
ccc0426b3f
Trick the top-level makefiles into building the SYSCALL proxy library but then not actually linking with it
2014-08-28 17:35:32 -06:00
Gregory Nutt
7088c9a5c7
Fix syscall library selection in top-level Makefiles
2014-08-28 15:49:24 -06:00
Gregory Nutt
7a81bce7b1
The system call library can now be built with CONFIG_NUTTX_KERNEL. New select: CONFIG_LIB_SYSCALL
2014-08-28 12:09:49 -06:00
Gregory Nutt
bb3dcccd98
Beginning of a crypto/ subsystem from Max Neklyudov
2014-07-03 07:42:44 -06:00
Gregory Nutt
f8024cf409
More trailing whilespace removal
2014-04-13 16:22:22 -06:00
Gregory Nutt
b3daf84b12
Top level make will now generate a U-Boot uImage file
2014-04-01 11:56:58 -06:00
Gregory Nutt
4cbdbc875e
Support for the older, manual configurations has been completely removed from the NuttX build system
2014-03-06 13:00:50 -06:00
Gregory Nutt
f5888496fb
configs/c5471evm/nettest converted use kconfig-frontends. C5471 build updated
2014-03-03 10:05:06 -06:00
Gregory Nutt
39fcfa0c44
Purely cosmetic updates to release notes and Makfile comments
2014-01-30 19:00:23 -06:00
Gregory Nutt
2382af1e7b
You can again specify the default board sub-directory when CONFIG_ARCH_BOARD_CUSTOM is used
2014-01-16 10:42:54 -06:00
Gregory Nutt
a457105a0b
Move the NX components out of libc and into its own library, libnx
2013-12-28 08:40:03 -06:00
Gregory Nutt
ad5e086625
Use kconfig-qconf or kconfig-gconfig if they are available
2013-11-16 12:59:59 -06:00
Gregory Nutt
5b86207177
Add audio/ sub-syste, include/nuttx/audio.h interface, and drivers/audio/vs1053.c driver to NuttX. From Ken Pettit
2013-05-19 15:12:28 -06:00
patacongo
a1344d8a44
Rework of kernel build signal dispatch to user-space handlers
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5778 42af7a65-404d-4744-a932-0658087f49c3
2013-03-23 14:46:02 +00:00
patacongo
93967f8b7f
Fix some ARMv7-M syscall logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5736 42af7a65-404d-4744-a932-0658087f49c3
2013-03-12 21:53:18 +00:00
patacongo
feca2c077e
With these fixes, the kernel build is basically functional (but there is more to be done)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5722 42af7a65-404d-4744-a932-0658087f49c3
2013-03-09 01:27:42 +00:00
patacongo
0db8dc83ee
up_addregion should use kmm_addregion; move garbage kmm*.c file to mm/. for now
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5721 42af7a65-404d-4744-a932-0658087f49c3
2013-03-08 22:01:50 +00:00
patacongo
1d6f741412
Use kconfig- prefix to avoid tool name conflicts (from Jose Pablo Carballo)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5496 42af7a65-404d-4744-a932-0658087f49c3
2013-01-09 12:55:13 +00:00
patacongo
4dcc80f24f
STM32 FLASH pre-fetch is no long enabled unless it is so configured
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5388 42af7a65-404d-4744-a932-0658087f49c3
2012-11-26 13:22:51 +00:00
patacongo
2def0d877d
A few native window build updates
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5387 42af7a65-404d-4744-a932-0658087f49c3
2012-11-25 20:58:39 +00:00
patacongo
469ec154c0
Missing comma in EVERY DELFILE/DELDIR macro call in every Makefile
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5373 42af7a65-404d-4744-a932-0658087f49c3
2012-11-20 15:47:41 +00:00