Anatol Ivanov
1dad62d3b7
Squashed commit of the following:
...
tools/configure.c: Add missing '\n' in printf statement
tools/configure.c: Add missed -g option to getopt() string
tools/configure.c and tools/configure.sh: Fix Windows native pre-build kconfig-conf incompability. Looks like prebuilt Windows native kconfig-conf interprets "..\apps" as "..apps" (possibly '\a' as escape-sequence) so expand winnative path to double-backslashed variant "..\\apps".
tools/mkdeps.c: Fix '\0' missing in MinGW. Implicit bug. There are 2 cases.
1. Under Linux. The code works as planned: '\n' is always replaced with '\0' due to sprintf fills n-1 bytes and reaches buffer length limit.
2. Under Windows/MinGW. There is memory corruption. Seems like it`s a bug inside MinGW/snprintf. Snprintf fills consecutively "oldbase",' ',"str",'\n', but does not inserts trailing '\0' instead of '\n'. And when next append() occurs, strlen() returns garbage-appended "oldbase".
So the fix just removes '\n' and reserves space for '\0'.
tools/link.bat: Fix .fakelink creation
configs/Makefile and tools/Config.mk: Move single file copy to the new function COPYFILE. This fixes the Windows native build case when there is no cp or cp does not recognize Windows paths.
2018-11-05 16:35:28 -06:00
Jeff
25e4fb2886
tools/mkdeps.c: Eliminate a warning. MAX_PATH may already be defined in included system files.
2017-08-04 12:25:38 -06:00
Gregory Nutt
61e0eb8006
Use name, not CONFIG_ settings, to determine host OS; Fix errors in help text.
2016-01-10 13:09:10 -06:00
Gregory Nutt
a6da474a69
Update ChangeLog; fix some tools/mkdeps.c compile issue in non-Cygwin environemnts
2016-01-10 13:02:51 -06:00
Gregory Nutt
65826c7f21
tools/mkdeps.c: Fix error in calculation of the length of the command
2016-01-10 11:15:30 -06:00
Gregory Nutt
76f4c2bf20
tools/mkdeps.c: Correct logic that exands paths
2016-01-10 10:16:21 -06:00
Gregory Nutt
e5c8290d5c
Should use --winpath option, not the --winnative option
2016-01-10 09:25:32 -06:00
Gregory Nutt
5ec04daaa2
Extending tools/mkdeps.c
2016-01-09 19:52:24 -06:00
Gregory Nutt
0b12dbf95d
Fix some spacing problems
2015-10-04 15:04:00 -06:00
Gregory Nutt
b7715ee018
Remove warning about redefined strtok_r
2014-12-08 08:28:22 -06:00
Gregory Nutt
935e76df9f
Changes to try to get P112 to compile with laster SDCC (it still does not)
2014-08-22 14:48:29 -06:00
Gregory Nutt
befcb1c961
Fix some cloned errors in SAM GPIO interrupt setup
2014-07-07 15:54:37 -06:00
Gregory Nutt
b72679c5d0
NAME_MAX not available on SunOS
2014-07-04 07:22:36 -06:00
Gregory Nutt
91b002a043
Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced
2014-02-10 18:08:49 -06:00
Gregory Nutt
b9a38cea22
nuttx/tools: Fixes for some Windows native build issues from Max Holtzberg
2014-01-04 09:08:14 -06:00
Gregory Nutt
9dc8d00bd1
Fix a error in a recent checkin to fix dependencies wehn object files lie in sub-directories
2013-09-30 20:31:49 -06:00
Gregory Nutt
c038f4efe0
Dependency generation fix for directories that keep object files in a sub-directory
2013-09-29 11:46:10 -06:00
Gregory Nutt
88c0911fb1
Various changes and bigfixes for problems detected by CppCheck
2013-05-09 14:23:34 -06:00
patacongo
f8ad7573a5
Update for ez80 Windows native build (still does not work)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5377 42af7a65-404d-4744-a932-0658087f49c3
2012-11-21 17:44:14 +00:00
patacongo
167d95b3a2
Convert configs/ez80f910200kitg/RCS/ostest to use the newer mconf-based configuration
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5375 42af7a65-404d-4744-a932-0658087f49c3
2012-11-20 21:19:36 +00:00
patacongo
d114cd19e5
mkdeps.c: Oops MinGW does not have WEXITSTATUS; Now all of NuttX on native Windows WITH dependencies (still some link time problems).
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5350 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 23:05:48 +00:00
patacongo
fd6f8f5eca
mkdeps.c: Fix some strtok logic; fix some system() return value check
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5349 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 22:47:44 +00:00
patacongo
4ee266d94b
Centralized the definition of the INCDIR script in tools/Config.mk
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5346 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 20:24:30 +00:00
patacongo
3dee46c307
Oops.. nested strtok in mkdeps.c, need to use strtok_r
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5345 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 17:18:42 +00:00
patacongo
0b27df8f5c
Mostly cosmetic changes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5344 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 15:50:38 +00:00
patacongo
46541cf0fa
Fix some mkdeps.c issues; Incorporate mkdeps.c build in Makefiles
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5343 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 02:39:01 +00:00
patacongo
8f47445bd5
Add tools/mkdeps.bat and tools/mkdeps.c
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5342 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 00:38:59 +00:00