YAMAMOTO Takashi
842392beda
Makefile.host: Use generic name (cc) than GCC specific (gcc)
...
This makes it easier to use clang on ubuntu.
2020-02-13 15:25:15 +08:00
YAMAMOTO Takashi
aa8aadf18e
Use "uname -s" where "uname -o" is not available
...
Namely this changes HOSTOS for macOS from "Other" to "Darwin".
Also, suppress the following harmless messages during a "make":
(Missing redirect in tools/Makefile.host)
uname: illegal option -- o
usage: uname [-amnprsv]
2020-01-29 09:03:48 +01:00
Xiang Xiao
bb6c70bdcc
Fix the comment header style in tools folder
...
Change-Id: I189a0e8b86f3af682111668ccdad64a52b48dcb4
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-20 08:04:21 -06:00
Gregory Nutt
8b884a027f
tools/Makefile.host: Fix several errors for native build
...
1. Can't pipe uname stderr output to /dev/null. /dev/null does not exist in the Windows native enviornment.
2. Don't test if CONFIG_WINDOWS_NATIVE is defined. Tht leads to a "chicken'n'egg" problem: We need to build configure.c in order to configure the system, but we can't get the CONFIG_WINDOWS_NATIVE until after the system is configured.
3. The default name of the MinGW GCC compiler is mingw32-gcc.exe, not mingw-gcc.exe
2020-01-17 15:56:01 -03:00
Nathan Hartman
9655730ef8
Fix various typos and spelling errors.
2019-12-12 07:41:51 -06:00
Xiang Xiao
61ec1d7a1d
Makefiles: change ${shell pwd} to $(CURDIR) since pwd doesn't exist on Windows
2019-10-02 07:09:28 -06:00
Gregory Nutt
0cdc208b2c
tools/Makefile.host: Add missing binaries from clean target
2019-09-30 08:29:38 -06:00
Gregory Nutt
713b3e3760
tools/rmcr.c: Add a tools to remove carriage returns and dangline whitespace at the end of lines.
2019-02-07 12:11:40 -06:00
Gregory Nutt
fc744fb9b1
tools/: Add detab.c which will convert all tabs in a file to spaces. Add lowhex.c that will convert hexadecimal constants in a file to use lower case representation.
2018-12-03 08:45:05 -06:00
Gregory Nutt
e0608386f3
tools/convert-comments.c: Add a tool to convert C++-style comments to C89 C-style comments.
2018-12-01 19:15:54 -06:00
Gregory Nutt
3f5a3d0962
tools/gencromfs.c: Need to include stdint.h.
2018-07-14 17:06:47 -06:00
Gregory Nutt
3ec02adee0
tools/genromfs.c: Improve check for empty directories. If the directory contains only unsupported, special files, then it is still empty. Fix some collection of statistics that was cause statfs() to return some incorrect values. Add logic to handle the case where the host and the target differ in endian-ness. fs/procfs: In show mountpoints, add support so that the CROMFS file system type is recognized.
2018-03-21 08:40:02 -06:00
Gregory Nutt
eec44d1f01
This commit adds tools/gencromfs.c, a tool that can be used to generate CROMFS file system images.
...
Squashed commit of the following:
tools/gencromfs.c: Seems basically functional but has not has not yet been integrated with CROMFS.
tools/gencromfs.c: Revist previous commit. Let's make no assumptions about the compatibility of the host system and NuttX.
tools/gencromfs.c: I think access mode bits are sufficiently standard that we can just copy them from the host. This is don't mostly to pick up the executable bits and other conbinations of bits without doing a bit-for-bit decode.
tools/gencromfs.c: Code complete but only partially functional.
tools/gencromfs.c: type definitions must precede data definitions
tools/gencromfs.c: Adds a little more logic to gencromfs tools. Still not complete but can traverse directories and generate directory and hard-link nodes.
tools/gencromfs.c: Beginning of a genromfs tool that will eventually be used for generation of CROMFS file system images.
2018-03-20 07:31:13 -06:00
Gregory Nutt
fce345113f
tools/logparser: Add a tool which (when it matures) will help me to convert git logs to ChangeLog format.
2018-01-29 10:50:14 -06:00
Gregory Nutt
624bd0b9e9
tools/: Add initialconfig.c so that perhaps in the future we will be able to use this to generate a new configuration from scratch (rather than having to derive new configurations from existing configurations)
2017-06-02 10:17:30 -06:00
Gregory Nutt
ad01da34ad
tools/Makefile.host: If the real target is kconfightml.exe, then then kconfightml target is .PHONY
2016-03-26 15:34:16 -06:00
Gregory Nutt
aa691e6d08
tools/Makefile.host: clean target was not removing cnvwindeps program
2016-01-14 16:28:43 -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
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
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
c5bcfc166d
tools/mkwindeps.sh. A script that coordinates the use of cnvwindeps.exe
2016-01-09 17:27:56 -06:00
Gregory Nutt
b390bd802a
tools/cnvwindeps.c: Add a tool that will convert dependencies created by a Windows native toolchain for use the Cygwin make
2016-01-09 13:51:34 -06:00
Gregory Nutt
cc35c0c49d
Add toosl/nxstyle.c
2015-10-08 12:48:40 -06:00
Gregory Nutt
f8024cf409
More trailing whilespace removal
2014-04-13 16:22:22 -06:00
Gregory Nutt
2848f657ed
Fix comments, references to the old SVN, and links to the old SVN. Replace with equivalent GIT info
2013-04-19 18:35:06 -06:00
patacongo
ce77c566f8
Clean up a few tools/ build issues
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5480 42af7a65-404d-4744-a932-0658087f49c3
2013-01-05 14:57:43 +00:00
patacongo
f00aedc7c1
Working on configure.c
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5477 42af7a65-404d-4744-a932-0658087f49c3
2013-01-04 16:50:15 +00:00
patacongo
5e515841de
Renaming some files in tools/
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5476 42af7a65-404d-4744-a932-0658087f49c3
2013-01-04 16:00:38 +00:00
patacongo
431ad8c567
Fix the fat, flat line bug
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5407 42af7a65-404d-4744-a932-0658087f49c3
2012-12-02 17:34:08 +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
patacongo
26c9112ad2
Most of the changes needed to support Windows native clean; distclean is has a problem
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
2012-11-17 18:54:53 +00:00
patacongo
76f2745323
Changes from Mike
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5361 42af7a65-404d-4744-a932-0658087f49c3
2012-11-16 12:41:58 +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
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
patacongo
a1cf659333
Completes removal bash ARCHIVE loop; Adds basic Makefile for native windows build
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5338 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 18:36:28 +00:00
patacongo
8b768dc6fa
Separate CVS parsing logic from tools/mksyscall.c; Create tools/mksymtab.c to create symbol tables from CSV files
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5075 42af7a65-404d-4744-a932-0658087f49c3
2012-09-01 15:33:33 +00:00
patacongo
940bdc50fb
Add tools/cmpconfig.c to compare to configuration files
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4592 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 23:06:30 +00:00
patacongo
9d0882c525
Update BDF converter
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3815 42af7a65-404d-4744-a932-0658087f49c3
2011-07-24 12:36:21 +00:00
patacongo
2ee238e14b
Add JP's BDF font conversion program
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3813 42af7a65-404d-4744-a932-0658087f49c3
2011-07-23 13:53:59 +00:00
patacongo
8da8486fcb
Updates from Uros
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3527 42af7a65-404d-4744-a932-0658087f49c3
2011-04-20 13:32:49 +00:00
patacongo
e0aa4f2977
Add tools to manage a version file
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3502 42af7a65-404d-4744-a932-0658087f49c3
2011-04-14 16:46:17 +00:00
patacongo
db0f306719
Add mksyscall tool
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3446 42af7a65-404d-4744-a932-0658087f49c3
2011-03-31 04:23:17 +00:00
patacongo
a521443817
Move more files into subdirectories under lib/
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3445 42af7a65-404d-4744-a932-0658087f49c3
2011-03-31 01:42:50 +00:00