chao.an
b896da25c7
make/export: copy incdir.c for export build
...
export build break by commit 5555070fc3
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-30 10:28:56 +02:00
chao.an
fd3be9eb37
make/export: support export extra library
...
Change-Id: Iaab5dc8fd61b55888dad59d9b1d8380d7bd44a58
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-27 22:45:41 +01:00
chao.an
41f434015b
make/export: do not extract object from librarys
...
To avoid overriding of objects with duplicate file name
Change-Id: I83c964d161d23942cd3fc29eb738da44775cfc10
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-27 22:45:41 +01:00
chao.an
e82a9e0f48
make/export: copy mkdeps.c for export build
...
Change-Id: Ic1aa04d5d4dd2332cf4a13ec51c76cdb7d90736c
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-27 22:45:41 +01:00
chao.an
98f0b0afb5
build/export: correct the export path
...
Change-Id: Ia2e19f30d32154c3329f46c5d8362fafd6b7e274
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-27 22:45:41 +01:00
Xiang Xiao
8b42ee421a
build: Move MKDEP definition to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-19 19:23:18 +01:00
Xiang Xiao
9ec9431706
build: Move DIRLINK/DIRUNLINK definition to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-19 19:23:18 +01:00
Xiang Xiao
6c4ef7b1db
build: mkexport.sh copy Config.mk to tools folder too
...
to avoid the duplication in apps/imports/Make.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 21:36:58 -06:00
Xiang Xiao
bd656888f2
build: Replace WINTOOL with CYGWIN_WINTOOL Kconfig
...
so the correct value can be determinated by Kconfig system automatically
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:02:55 -06:00
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