Commit Graph

20 Commits

Author SHA1 Message Date
liuhaitao
404b330c25 Ensure "build" before "install"
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-02-27 07:47:32 -03: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
97fd133025 Add install dependency on chardev BIN to fix parallel build break
chardev bin may not availabe before make install in parallel build,
so add install dependency on chardev BIN here.

Change-Id: If28451ceeeed0a6463544d8c342871cecda5a057
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-01-20 08:16:34 -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
Gregory Nutt
dd35a7cacc apps/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled. 2019-05-21 19:08:12 -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
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
d195751a90 Update NSH and examples/modules for changes in kernel module interface. 2017-01-22 15:11:49 -06:00
Gregory Nutt
29e8b8e059 Several Makefiles: Add .PHONY definitions to prevent 'clean up to date' message weirdness; Add default definitions for some commonly used things when 'make clean' is used without .config or Make.defs files installed. 2016-05-10 15:40:20 -06:00
Gregory Nutt
052392f36c examples/module. Module should not link with libc because it has out-of-range function calls 2015-12-12 14:00:34 -06:00
Gregory Nutt
ad4bcac7a0 apps/examples/module: Some fixes 2015-12-12 11:49:34 -06:00
Gregory Nutt
6c14e176d9 apps/examples/module: Now exercises rmmod as well 2015-12-12 11:40:33 -06:00
Gregory Nutt
d02295d1f2 apps/examples/module: Add a test harness for testing NuttX kernel modules 2015-12-12 09:43:32 -06:00