diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-07 08:43:01 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-07 08:43:01 -0600 |
commit | 26b2fe3e5bfff38e941312edf4a6fe94a9e4dd43 (patch) | |
tree | f1eaf63c160822c9e89b9211678d2893d368e3df /apps/examples/serialblaster/Makefile | |
parent | 0245ea571aff1a005054c608dd187dbb4cfd194f (diff) | |
download | px4-nuttx-26b2fe3e5bfff38e941312edf4a6fe94a9e4dd43.tar.gz px4-nuttx-26b2fe3e5bfff38e941312edf4a6fe94a9e4dd43.tar.bz2 px4-nuttx-26b2fe3e5bfff38e941312edf4a6fe94a9e4dd43.zip |
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
Diffstat (limited to 'apps/examples/serialblaster/Makefile')
-rw-r--r-- | apps/examples/serialblaster/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/examples/serialblaster/Makefile b/apps/examples/serialblaster/Makefile index d5944283d..bf4acbec5 100644 --- a/apps/examples/serialblaster/Makefile +++ b/apps/examples/serialblaster/Makefile @@ -40,7 +40,8 @@ include $(APPDIR)/Make.defs # For testing: Blast canned characters at a designated serial port ASRCS = -CSRCS = serialblaster_main.c +CSRCS = +MAINSRC = serialblaster_main.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) |