Xiang Xiao
d656982f7a
build: Remove the null assignment
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-24 18:38:04 +01:00
Xiang Xiao
deaa6c5b7b
build: Replace $(TOPDIR)/Make.defs with $(APPDIR)/Make.defs
...
and move NUTTXLIB defintion to the common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-09 15:17:37 -03: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
Xiang Xiao
ead498a788
build: Remove the workaround for the inexistence of .config/Make.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
Xiang Xiao
d232823e63
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:37:24 -06:00
liuhaitao
0c60624276
Update make dependency for elf/module/nxflat/posix_spawn/sotest/thttpd
...
Update make dependency for elf/module/nxflat/posix_spawn/sotest/thttpd examples which make use of
mksymtab.sh. This could avoid them built twice in 'make depend' and 'make all' which would result
in file truncated build break. Now only build once by 'make all'.
Change-Id: I5d8f1ebbf73e3b12d7d2118f1f51b4233d0ed007
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-15 13:36:05 +08:00
Xiang Xiao
cfe030db40
examples: Replace all -luc with -lc
...
follow up the kernel side change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-02 03:34:25 +01:00
YAMAMOTO Takashi
2f7480d11b
Use MODULECC/MODULELD when building modules
2020-03-27 01:01:30 -05:00
Xiang Xiao
f16a765cca
examples: Fix the parallel build break ( #138 )
...
1.Remove build target to avoid build and install run parallelly
2.Invoke the sub Makefile just before the parent source code compile
2020-03-23 11:40:44 -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
9394424b1e
Revert "examples/sotest/lib: Fix dependency"
...
This reverts commit 0cb3712c19
.
2020-03-22 22:47:16 +01:00
YAMAMOTO Takashi
0cb3712c19
examples/sotest/lib: Fix dependency
2020-03-10 05:19:20 -05:00
YAMAMOTO Takashi
e5dd0b1eb9
mksymtab.sh: Avoid using find -executable
...
As it seems GNU-find only. macOS doesn't have it.
-perm is in POSIX and should be more widely available.
2020-02-14 09:13:55 -06:00
Xiang Xiao
1d6fcfac13
Build system: Reference tools/define.sh through DEFINE macro
2020-02-03 15:09:33 -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
liuhaitao
02dbab7679
Makefile: Fix warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
...
Change-Id: I73d156f55bc82778c64defe5a8dd84bb478c9008
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-01-19 07:24:21 -06:00
Xiang Xiao
857158451b
Unify the void cast usage
...
1.Remove void cast for function because many place ignore the returned value witout cast
2.Replace void cast for variable with UNUSED macro
Change-Id: Ie644129a563244a6397036789c4c3ea83c4e9b09
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-02 23:21:01 +08:00
Gregory Nutt
3da8091d30
Include nuttx/symtab.h instead of nuttx/binfmt/symtab.h since symtab.h under binfmt folder is for internal use.
2019-12-10 08:39:22 -06:00
Gregory Nutt
3a23523147
Makefiles: This reverts part of commit cf0365ea9
. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured.
2019-10-15 09:25:48 +08:00
Xiang Xiao
cf0365ea92
Clean up Makefile under apps folder no functional changes.
2019-10-04 08:35:46 -06:00
Xiang Xiao
9a27d4a697
Makefiles: Remove .PRECIOUS if Makefile doesn't touch libapps.
2019-10-01 11:48:55 -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
43e79ac329
Update for corrected name of standard header file. Should be dlfcn.h, not dllfcn.h. I am surprised no one ever noticed before now.
2019-02-09 14:10:16 -06:00
Gregory Nutt
2ef04ff0a8
apps/examples/sotest and modules: With recent changes, LDLIBS is initialized to bad value, at least in certain contexts.
2018-08-24 16:24:58 -06:00
Gregory Nutt
5ecec24084
There many occurences of the global variable g_exports and the opportunity for collisions. Make the global variable names unique.
2018-07-14 16:36:25 -06:00
Gregory Nutt
654ee7e6f9
apps/examples/elf, module, posix_spawn: Correct naming of global variables that violations the naming requirements of the coding standard.
2018-07-12 09:53:38 -06:00
Gregory Nutt
6aa3e57004
Triva typo fixed. Also modify weird definition in import/Makefile. Still weird, but at least the directory exists.
2018-05-31 15:31:31 -06:00
Gregory Nutt
634dd7709b
apps/, Various Makefiles: Fix mixed references to nuttx/lib. These need to be changed to nuttx/staging.
2018-05-30 11:08:13 -06:00
Gregory Nutt
7a8561728c
The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes the libapps.a will not be deleted on Control-C (unproven so far). However, $(BIN) may contain back slashes in some build platforms and that causes problems for make: It can't handle the backslashes in the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a, where the number of ../ depends on the depth of the Makefile in the apps/ source tree.
2017-08-13 11:03:17 -06:00
Gregory Nutt
a66da34f18
All Makefiles: Add .PRECIOUS: apps/libapps.a to every Makefile. Hopefully this will end awkward problems when you Control-C out of a build and libapps.a is deleted.
2017-08-13 09:35:14 -06:00
Gregory Nutt
3ab2aec4e8
New apps/examples/module and sotest configuration options
2017-01-30 09:04:01 -06:00
Gregory Nutt
de909c5c48
apps/examples/module and sotest: Update for names changes resulting when module library was split out from kernel module code.
2017-01-29 13:32:39 -06:00
Gregory Nutt
bedf040698
apps/examples/sotest: Fix an error introduced in previous commit
2017-01-27 15:48:15 -06:00
Gregory Nutt
abd0362c64
apps/examples/sotest: Extend test to check out module dependencies.
2017-01-27 15:11:44 -06:00
Gregory Nutt
32211e21b6
apps/examples: Fix some name collisions of both module and sotest examples are enabled.
2017-01-27 11:41:53 -06:00
Gregory Nutt
08b6e087bf
examples/sotest: Fix file permissions of mksymtab.sh
2017-01-27 10:34:13 -06:00
Gregory Nutt
c027c19dde
examples/sotest: Add a test for shared libraries.
2017-01-23 08:23:28 -06:00