Lwazi Dube
4a9ef0225a
Makefile.win would only create uboot images for ARM. MIPS support also needed.
2017-07-16 09:23:03 -06:00
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
Gwenhael Goavec-Merou
c78f5f3cd6
Makefile.unix: Add savedefconfig target.
2017-07-08 06:19:29 -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
Hidetaka Takano
64a43627a2
Fixed gconfig target.
2017-04-05 19:53:54 +09: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
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