Commit Graph

64 Commits

Author SHA1 Message Date
Gregory Nutt
5a9eebe270 More conversions of defconfig files to compressed format. All but Windows native configurati9ons. 2017-07-09 20:05:59 -06:00
Gregory Nutt
90f38af8dc More conversions of defconfig files to compressed format. Not yet finished. 2017-07-09 18:48:28 -06:00
Gregory Nutt
771cbc8e3a Partial conversion of defconfig files to compressed format 2017-07-09 18:24:03 -06:00
Gregory Nutt
c6b61b0882 Makefile.*: Add CONFIG_ARCH_CHIP_* definitions to defconfig in savedefconfig target. 2017-07-09 17:08:51 -06:00
Gregory Nutt
25abbf7b17 Add Gwenhael's change to Makefile.win and update README.txt to described the new make target. 2017-07-08 06:55:50 -06:00
Gregory Nutt
8a4bac43a1 tool/configure will now copy Eclipse project files if they are present in the board directory file 2017-06-15 09:59:32 -06:00
Gregory Nutt
b27ccd1bc6 Makefiles: Remove some unnecessary dependencies 2017-06-02 17:09:08 -06:00
Gregory Nutt
6c3a3c305f Comment out most of 430060e92e. Clean-up some dependencies in top-level Makefile 2017-06-02 16:46:16 -06:00
Gregory Nutt
c584d27c3c Revert "Build system: Hook tools/initconfig into top-level Makefiles."
This reverts commit 430060e92e.

That commit has some unexpected side-effects
2017-06-02 16:14:27 -06:00
Gregory Nutt
d1eaac7ed7 Build system: Suppress output of some command lines. 2017-06-02 13:16:29 -06:00
Gregory Nutt
430060e92e Build system: Hook tools/initconfig into top-level Makefiles. 2017-06-02 13:06:09 -06:00
Gregory Nutt
f5e6afe9cd Makefile.*: Create a Make.defs file if one does not exist 2017-05-31 15:39:18 -06:00
Gregory Nutt
bb02c0c92d Makefiles.*: It should be possible to run 'make menuconfig' with no .config and no Make.defs file. This change removes the dependency on Make.defs, but does not solve the problem of the missing .config file. Without a .config file, it is not currently possible for the Makefile.* to correctly setup up the symbolic links to directories. 2017-05-31 15:17:28 -06:00
Gregory Nutt
2f9028b547 Remove all remaining references to setenv.h and setenv.bat. 2017-04-26 10:28:37 -06:00
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
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
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
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
c8e73b9cef Backout most of changes from 4d331ec09b2fc72636f86be628ea2f69381 and 8afe721612. Does not work as expected. 2016-06-25 09:44:50 -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
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
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
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
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
cc7bee49a7 Fix some errors in the clean target of the windows native build 2014-02-10 07:37:43 -06:00
Gregory Nutt
3ab50c23f8 Some Windows native build fixes 2014-02-07 09:29:02 -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
b46aa97ac4 Makefile.win: Native windows build fixes from Max Holtzberg 2014-01-04 09:14:42 -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
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