Xiang Xiao
0d2ef47192
nshlib: Rename CONFIG_SYSTEM_NSH_SYMTAB to CONFIG_NSH_SYMTAB
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 22:18:38 +02:00
Xiang Xiao
893387b2c5
Fix the minor style issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 19:07:16 +02:00
Nathan Hartman
c2fdd8e99d
tools/README.md: Fix typo and reflow paragraph
2022-09-09 01:08:33 +08:00
liuhaitao
dbb19c9e5a
tools: add git pre-commit hook for apps
...
VELAPLATFO-1028
tools/pre-commit should be copied to .git/hooks/pre-commit to take
effect.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2022-08-14 14:06:10 +03:00
YAMAMOTO Takashi
6a25898568
Revert "tools/mksymtab.sh: Disable the mismatch warning of builtin declaration"
...
This reverts commit a6773a8412
.
Unnecessary after "Use -fno-builtin for SYMTABOBJ"
2022-05-12 23:12:39 +08:00
Xiang Xiao
a6773a8412
tools/mksymtab.sh: Disable the mismatch warning of builtin declaration
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-18 09:04:57 +01:00
Masayuki Ishikawa
eeed03b174
tools: mkimport.sh: Add support relative file path
...
Summary:
- mkimport.sh only accepted absolute file path
- This commit adds support relative file path
Impact:
- None
Testing:
- Build (mkimport, make import) with sama5d4-ek:knsh
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-01-30 17:20:10 +01:00
Petro Karashchenko
2498be1f40
romfsimg: add attribute to set minimum 4 bytes aignment for romfs image data
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-01-28 00:02:45 +08:00
baggio63446333
562239ecb2
tools/mksymtab.sh: Fix issue to generate symtab_apps.c for MSYS
...
The file permission is used to get the execlist, but the file permission
cannot be changed for MSYS environment. As a result, symtab_apps.c cannot
be generated correctly. This commit removes the permission match.
2021-10-05 06:23:29 -07:00
Alin Jerpelea
54f47f3168
tools: update licenses to Apache
...
Gregory Nutt is has submitted the SGA
Michal Lyszczek has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-10 08:49:24 -05:00
John Bampton
db0b595b4b
Remove unneeded semicolons and parentheses from Python files
2020-12-12 19:20:38 +01:00
SPRESENSE
381b83ea90
tools/check-hash.sh: Add shasum to use checking hash
...
In macOS, sha*sum tools not found, but shasum can be use instead of them.
2020-07-29 15:22:20 +02:00
Maciej Wójcik
21049ece6e
Rewritten READMEs to Markdown
2020-07-25 01:01:51 -07:00
Maciej Wójcik
51e6645f71
Rename README and README.txt to README.md
2020-07-25 01:01:51 -07:00
chao.an
c723283340
make/import: support import zip use relative path
...
mkimport.sh failure if using relative path:
$ ./tools/mkimport.sh -x ../incubator-nuttx/nuttx-export-9.1.0.zip
unzip: cannot find or open ../incubator-nuttx/nuttx-export-9.1.0.zip, ../incubator-nuttx/nuttx-export-9.1.0.zip.zip or ../incubator-nuttx/nuttx-export-9.1.0.zip.ZIP.
ERROR: unzip ../incubator-nuttx/nuttx-export-9.1.0.zip failed
Change-Id: Ifc93c5e4dac95ec79a4e909b22ef646fbfe4484d
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-07-03 23:48:00 -05:00
chao.an
a5bae8b8ee
make/import: copy the exported buildin registers
...
copy the exported buildin registers to avoid symbols dropping on import build
Change-Id: Ibf184d5d67906b41a2c813b96f61f047e60bacea
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-07-03 23:48:00 -05:00
liuhaitao
68c89e8485
tools/mksymtab.sh: remove the quotes in varlist entry coming from *-thunk.S
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-06-10 21:31:51 +08:00
Xiang Xiao
d03ff1bde6
build: Remove the duplicated mksymtab.sh
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-24 08:26:55 -06:00
liuhaitao
994af95576
tools/mksymtab.sh: suppress 'find apps/bin' No such file or directory error msg
...
Suppress apache nightly build find error msg as below:
find: '/home/jenkins/jenkins-slave/workspace/NuttX-Nightly-Build/apps/bin': No such file or directory
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-15 07:29:37 -06:00
Xiang Xiao
f074d7f376
Makefile: let install depend on the target binary
...
to ensure the binary get built and install once
2020-03-22 22:42:13 +00:00
Xiang Xiao
41d88f06e7
Run codespell -w with the latest dictonary again
2020-02-23 07:10:14 -06:00
Xiang Xiao
e0dcfa0c55
Remove extra whitespace from files ( #43 )
...
* Remove multiple newlines at the end of file
* Remove the white space from the end of line
2020-01-31 08:29:24 -06:00
Bernd Walter
049616a651
tools/mkromfsimg.sh: Use sed to add const to ROMFS declarations so that they like in FLASH not RAM.
2019-10-07 21:52:08 -06:00
Xiang Xiao
031a5270d0
apps/Makefile: Remove EXE_DIR and put binary into bin folder like nuttx
2019-10-01 11:42:18 -06:00
Xiang Xiao
b75e7bc32e
tools/mksymtab.sh: Include nuttx/symtab.h instead of nuttx/binfmt/symtab.h.
2019-10-01 08:04:06 -06:00
Xiang Xiao
5d6681dc9f
Remove the duplicated build script files from apps/impor/tools. These will now be copied from nuttx/tools when the export package is created.
2019-10-01 07:51:01 -06:00
Manuel Stühn
88d47e469f
Merged in manuelstuehn/nuttx-apps/feature/bsd-portable (pull request #190 )
...
change all occurences of /bin/(ba)sh to /usr/bin/env bash which appears more portable
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 17:16:33 +00:00
Gregory Nutt
e6ba3ccff8
Update comments, README's, etc. to reflect changes to nuttx/boards directory reorganization.
2019-08-09 08:40:22 -06:00
Gregory Nutt
2a8dccb75d
Change name configs/ to boards/ in comments, Documentation, Tools, etc.
2019-08-05 07:33:16 -06:00
Nathan Hartman
d6a3beadfb
Remove 'executable' bit on several files
2019-08-01 14:19:02 -06:00
Gregory Nutt
dee7f14b49
Squashed commit of the following:
...
apps/system/nxplayer: Fix some logical errors from recent comments. They broke the build of the nxplayer as a library vs. a task. apps/graphics/nxglyphs: Fix yet more namespace problems.
graphics/nxwm/src/nxwm_main.cxx: Move from graphics/nxwidgets/UnitTests/nxwm/nxwm_main.cxx.
apps/graphicx/nx*: Fixes numerous build issues mostly associated with include paths and namespaces.
apps/nxglyphs: Decouple (mostly) from nxwidgets and nxwm so that they can be used elsewhere. Creates include/graphics/nxglyphs.h
apps/graphics/nxglyphs: Put all NxWidgets and NxWM glyphs into a common directory where they can eventually be shared. Not very sharable at the moment due to header file entanglements. Need a separate nxglyps.hxx header file.
Separate nxwidets and nxwm into separate directories. Remove old, common NxWidgets directory.
2019-04-04 18:53:29 -06:00
Michał Łyszczek
0b8e12b8cf
tools/check-hash.sh: Add a tool check hash on downloaded packages.
2019-02-18 07:24:55 -06:00
anchao
2771205bc3
apps/tools/mksymtab.sh: 'export LC_ALL=C' to get the traditional sort order
2019-01-27 07:42:49 -06:00
Masayuki Ishikawa
c229c14ded
Merged in masayuki2009/nuttx.apps/fix_mksymtab (pull request #154 )
...
apps/tools: Fix to generate CONFIG_SYSTEM_NSH_SYMTAB_COUNTNAME in mksymtab.sh
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: GregoryN <gnutt@nuttx.org>
2018-09-07 11:23:31 +00:00
Gregory Nutt
6f6bc758cc
Application.mk: Add module install logic. Possibly only needed in KERNEL build mode? Makefile: Simplify import target for KERNEL build. A symbol table is not needed because the KERNEL-mode programs are completely linked. Also fix missing deletion in clean and distclean targets. tools/mksymtab.sh: Fix a typo introduced in previous commit.
2018-09-04 16:04:25 -06:00
Gregory Nutt
0d7067936a
Makefile: Fix more places where attempts to use Unix-style paths with native Windows toolchain. tools/mksymtab.sh: Add a check just to prevent 'cat' of an empty file list from failing. Right not the root problem is that the are not executables being built or installed in the exe/ directory. That needs to be done by 'make import' but is not happening.
2018-09-04 11:20:19 -06:00
anchao
7f5d8dfffe
apps/: Fix build break in case sama5d4-ek/elf configuration. Also fix a patch problem in mkromfsimg.h.
2018-09-04 08:05:31 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -06:00
Gregory Nutt
ec2e08ff24
apps/tools: Correct permissions on scripts. Need to be executable.
2018-08-24 16:54:39 -06:00
anchao
220653f21c
Squashed commit of the following:
...
Author: anchao <anchao@pinecone.net>
apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
Loadable apps/: Correct loadable symbol table generate
apps/system/ubloxmodem: Fix build break
apps/examples/ostest: start restart/waitpid/user test from main loop
apps/nshlib: Expand reboot and poweroff commands to include a second, optional mode argument
Author: Gregory Nutt <gnutt@nuttx.org>
An attempt to fix build issues. Does not work.
apps/examples/ostest: Fix some inappropriate renaming of static functions introduced with recent patches.
apps/builtin/exec_builtin.c: Fix a error introduced by recent comments. Found in build testing.
Author: anchao <anchao@pinecone.net>
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-23 11:06:15 -06:00
Gregory Nutt
0bdb179160
Move a copy of define.bat and sh from nuttx/tools to apps/tools so that they will be availalbe for the import build.
2018-08-22 12:08:31 -06:00
Gregory Nutt
2f982e9c77
Revert "Squashed commit of the following:"
...
This reverts commit 25b92edd9f
.
2018-08-22 12:06:32 -06:00
anchao
25b92edd9f
Squashed commit of the following:
...
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -06:00
Masayuki Ishikawa
1030ea7c80
Merged in masayuki2009/nuttx.apps/fix_mksymtab (pull request #147 )
...
apps/tools: Fix an error in mksymtab.sh
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: GregoryN <gnutt@nuttx.org>
2018-07-19 00:31:26 +00:00
Gregory Nutt
cb9e9510d9
apps/Make.defs: Improve the symtab target. tools/mksymtab.sh: Fix a typo.
2018-07-17 11:42:23 -06:00
Gregory Nutt
296f5839ab
apps/tools: Forgot to include a file with last commit.
2018-07-17 11:26:47 -06:00
Gregory Nutt
272bdc0d6e
apps Makesystem: Fix an error when building apps/ withtout nuttx/, using only the NuttX export package only and assuming that the nuttx/ directory in not even present. In this case, the problem fixed where the apps/Make.defs file was selecting tools from the /tools directory which does not exist because TOPDIR=apps/import. Instead, for this build case, I have not thought of any option but to duplicate scripts as necessary in the apps/tools directory. Also added a top-level target to compile the symbol table. Misc fixes: quoting in scripts, some errors in script syntax.
2018-07-17 10:42:15 -06:00
Masayuki Ishikawa
9240ef5536
Merged in masayuki2009/nuttx.apps/fix_symtab_related (pull request #146 )
...
Fix symtab related
* apps/tools: Add +x to mksymtab.sh
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* apps/examples/nsh: Fix compile errors with CONFIG_EXAMPLES_NSH_SYMTAB=y
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: GregoryN <gnutt@nuttx.org>
2018-07-17 03:51:44 +00:00
Gregory Nutt
878fa8afd5
Squashed commit of the following:
...
cosmetic
import/: Add Makefile.symtab which can be used to compile the dynamically created symbol table C file.
Add tools/mksymtab.sh
2018-07-15 11:21:53 -06:00
Jeff
4143c8a985
Windows build fixes: tools/mkkconfig.bat - switch APPSDIR path to use forward slashes for kconfig-frontends. interpreters/ficl - Reorder some targets that causes GNUwin32 make to behave badly.
2017-07-06 14:07:17 -06:00