Commit Graph

32 Commits

Author SHA1 Message Date
YAMAMOTO Takashi
aa205b3732 mkexport: Deal with ARCHSCRIPT containing multiple files
This fixes "make export" for esp32-core.
2020-03-03 08:10:06 -06:00
Xiang Xiao
bd4e8e19d3 Run codespell -w against all files
and fix the wrong correction
2020-02-22 14:45:07 -06:00
Xiang Xiao
3b9efc95a2 Format all shell scripts in tools folder
Change-Id: Ieef2eb93d56c03972b4dc63a1c55aabf1fb0d169
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-06 00:51:49 +08:00
Xiang Xiao
c8cb2fe492 tools/mkexport.sh: Copy the essential build script files too and move Make.defs/gnu-elf.ld into scripts like board folder layout. 2019-10-01 07:54:11 -06:00
Pavel Pisa
f9e9f228cb tools/mkexport.sh: export LDSCRIPT and STRIP definition and align with Makefile.export. 2019-09-10 07:14:38 -06:00
Pavel Pisa
f1b2155efc tools/Makefile.* and tools/mkexport.sh: This change allows to export builtin applications registry into temporarily created directory where export archive content is prepared. If the Makefile in apps directory does not define export: target then error is print but export continues without interruption. It would be more logical to print warning but there is no way instruct apps make to not print error. 2019-08-30 07:19:15 -06:00
Pavel Pisa
316aafc04d tools/mkexport.sh: The export of gnu-elf.ld at least is required to build ELF loadable binaries. Option to link system into different memory locations (boot, application after boot-loader, RAM) without need to rebuild/reexport NuttX is useful as well. 2019-08-28 07:49:57 -06:00
Pavel Pisa
00039b7c2e tools/mkexport.sh: Export all variables to support architecture independent build against NSH. 2019-08-28 07:35:44 -06:00
Manuel Stühn
5585cc421c Merged in manuelstuehn/nuttx/feature/bsd-portable (pull request #975)
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 15:57:26 +00:00
Gregory Nutt
d9767b74cd tools/mkexport.sh: The mcu sub-directory chip/ was renamed to hardware/ in late May of 2019. The mkexport.sh script that copies these files was not updated, however, until now. Noted by Alin Jerpelea. 2019-07-04 07:17:53 -06:00
Gregory Nutt
b7d1f13a54 b/sched/sched/sched_waitpid.c: Remove options check in DEBUG_FEATURES 2018-09-05 06:45:49 -06:00
Gregory Nutt
3611aefd14 tools/mkexport.sh: Save the name of the STRIP tool too. 2018-09-04 17:18:16 -06:00
Gregory Nutt
947c10e099 tools/mkexport.sh: Save the User.map file in the export package if available. 2018-07-09 05:42:42 -06:00
Gregory Nutt
0e1fc1a280 tools/mkexport.sh: Save the System.map file in the export package so that it can be used to extract addresses. 2018-07-08 12:18:05 -06:00
Gregory Nutt
78b10bdf0e tools/export.sh: If MAKE not defined use 'which make'. Update README from last change. 2016-05-06 04:49:25 -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
12086cb971 Kernel build export package also needs to include WINTOOL setting 2014-09-05 12:16:21 -06:00
Gregory Nutt
8e9914893d The apps/ import build requires that we extract more information from the platform Make.defs file. 2014-09-05 11:26:42 -06:00
Gregory Nutt
60308a7c6b Add the .config file to the export package 2014-09-05 07:37:44 -06:00
Gregory Nutt
56dc80cf59 The 'make export' target needs to bundle up the user C startup file (crt0), not the kernel head object 2014-09-04 13:31:34 -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
111e44ff74 Fix 'make export'. Adding subdirectories to the sched/ directory broke the header file collection logic 2014-09-04 11:43:25 -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
e7451df325 Fix a bug in 'make export' introduced recently
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4265 42af7a65-404d-4744-a932-0658087f49c3
2012-01-05 18:27:26 +00:00
patacongo
61b0896f3d Changes to tools to support MAC OS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4232 42af7a65-404d-4744-a932-0658087f49c3
2011-12-27 12:44:39 +00:00
patacongo
1cbb1dbfcb Export a fast but non-standard way to clear the STM3210E-EVAL LCD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3916 42af7a65-404d-4744-a932-0658087f49c3
2011-08-26 16:27:26 +00:00
patacongo
310d3f2ab7 Extend the 'make export' logic to bundle up chip header files as well
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3915 42af7a65-404d-4744-a932-0658087f49c3
2011-08-25 17:55:32 +00:00
patacongo
17e6f2e481 Export make target now produces a .zip file by default
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3778 42af7a65-404d-4744-a932-0658087f49c3
2011-07-12 23:54:13 +00:00
patacongo
a5aca26e66 Extend 'make export' logic to bundle up CFLAGS and linker scripts as well
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3772 42af7a65-404d-4744-a932-0658087f49c3
2011-07-12 03:21:27 +00:00
patacongo
03faf1cc17 Add an 'export' target to the NuttX top-level Makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3771 42af7a65-404d-4744-a932-0658087f49c3
2011-07-11 22:52:51 +00:00