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
YAMAMOTO Takashi
c304624fab
Replace "STACKSIZE = 2048" with CONFIG_DEFAULT_TASK_SIZE
...
For now, I left the following instances because it isn't
clear to me why they are using the different values.
Maybe they need one-by-one inspection.
examples/igmp/Makefile:STACKSIZE = 1024
examples/powerled/Makefile:STACKSIZE = 1024
examples/powermonitor/Makefile:STACKSIZE = 768
examples/relays/Makefile:STACKSIZE = 512
examples/smps/Makefile:STACKSIZE = 1024
graphics/screenshot/Makefile:STACKSIZE = 4096
system/flash_eraseall/Makefile:STACKSIZE = 1024
testing/cxxtest/Makefile:STACKSIZE = 4096
testing/smart_test/Makefile:STACKSIZE = 4096
2020-03-27 02:43:11 -05: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
e806097c70
Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard.
2019-10-06 06:14:56 -06:00
Xiang Xiao
cf0365ea92
Clean up Makefile under apps folder no functional changes.
2019-10-04 08:35:46 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -06:00
Sebastien Lorquet
d2aa24ad88
Make sure that APPNAME is defined in all Makefiles that generate applications
2016-06-09 10:51:04 -06:00
Paul A. Patience
85a2cecb99
Simplify apps/ Makefiles by combining common logic into the Makefile fragment Application.mk
2015-09-05 15:13:03 -04:00
Gregory Nutt
0a4258db6d
MAINOBJ needs to be added to object list in many Makefile
2014-09-11 06:48:11 -06:00
Gregory Nutt
4f14d3b8c4
Changes to many Makefiles. For kernel buil object containing main cannot go into library because of name collisions. The object file must be handled as a special case in every Makefile
2014-09-07 08:43:01 -06:00
Gregory Nutt
043d6898db
Determine the main object name from the main source name in every kernel build Makefile
2014-09-07 07:19:19 -06:00
Gregory Nutt
2881b73f3d
Add an nm command after every kernel build link to show if there are any undefined symbols
2014-09-07 07:15:59 -06:00
Gregory Nutt
70765b94fc
Add the main object to the list objects to link in every kernel build link command
2014-09-07 07:12:55 -06:00
Gregory Nutt
22720d5eb3
Add the main object to the dependencies for the kernel build
2014-09-07 07:09:22 -06:00
Gregory Nutt
b65500c289
If now a kernel build, then add the main object in with all of the rest
2014-09-07 07:05:54 -06:00
Gregory Nutt
22eb5d5c46
Update apps/examples/helloxx/Makefile
2014-09-07 06:59:30 -06:00
Gregory Nutt
181b75301f
Customize the program name in the generic setup that was added to each makefile that installs a program
2014-09-06 13:30:44 -06:00
Gregory Nutt
3454362678
Add generic setup logic to every Makefile that installs a program. Each will need customization
2014-09-06 13:19:02 -06:00
Gregory Nutt
cedf1d7369
Fix all install targets
2014-09-06 13:01:44 -06:00
Gregory Nutt
72cd42282c
Oops wrong else
2014-09-06 10:54:58 -06:00
Gregory Nutt
753f347723
Add missing else from last big change
2014-09-06 10:51:18 -06:00
Gregory Nutt
544cfc8aa2
Add program installation for CONFIG_BUILD_KERNEL in all Makefiles that build a main()
2014-09-06 10:42:03 -06:00
Gregory Nutt
d6bcd1a93a
Add an install target to all makefiles. For the import build, the top-level Makefile now does two passes: (1) builds libapp.a, then (2) installs the programs (not yet finished)
2014-09-06 08:00:47 -06:00
Gregory Nutt
b9cf7acb1a
More trailing whilespace removal
2014-04-13 16:24:28 -06:00
patacongo
08f0823241
Missing comma in EVERY DELFILE/DELDIR macro call in every Makefile
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5373 42af7a65-404d-4744-a932-0658087f49c3
2012-11-20 15:47:41 +00:00
patacongo
1d7bb0fa07
Most of the changes needed to support Windows native clean; distclean is has a problem
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
2012-11-17 18:54:53 +00:00
patacongo
c729930c69
Move some (hopefully) un-necessary quotes in Makefiles for Mike
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
2012-11-15 17:43:29 +00:00
patacongo
fdb8f8a0de
Changes to get a clean ez80 build using the ZDS 5.1.1 toolchain
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5341 42af7a65-404d-4744-a932-0658087f49c3
2012-11-12 15:22:27 +00:00
patacongo
3e25d82213
Correct some issues with last check-in; ez80 still does not build
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5339 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 23:44:31 +00:00
patacongo
ffe4fc1c0c
Partial change: Removing bash ARCHIVE loop
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5336 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 16:24:40 +00:00
patacongo
9fdb1157ee
USB device drivers: Add hooks to to use common, external DMA buffer allocation implementation..
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5142 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 14:14:18 +00:00
patacongo
9e4d576dd0
Changes for clean build of app/ directory with Windows toolchain
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3488 42af7a65-404d-4744-a932-0658087f49c3
2011-04-10 16:08:08 +00:00
patacongo
9116f1964e
Update apps/ Makefiles to fix environmental bug
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3450 42af7a65-404d-4744-a932-0658087f49c3
2011-04-01 15:18:02 +00:00
patacongo
40174767c9
Add lpc17xx GPIO interrupts + fixes needed by last apps-build check-in
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3413 42af7a65-404d-4744-a932-0658087f49c3
2011-03-24 02:26:25 +00:00
patacongo
0da11876b0
apps/ initialization now occurs during the earlier context build phase
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3412 42af7a65-404d-4744-a932-0658087f49c3
2011-03-24 00:28:50 +00:00
patacongo
a30185e702
More build fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3407 42af7a65-404d-4744-a932-0658087f49c3
2011-03-20 22:07:56 +00:00
patacongo
bafd2949c3
Move nuttx/examples to apps/examples
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3405 42af7a65-404d-4744-a932-0658087f49c3
2011-03-20 18:18:19 +00:00