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/nsh | |
parent | 0245ea571aff1a005054c608dd187dbb4cfd194f (diff) | |
download | nuttx-26b2fe3e5bfff38e941312edf4a6fe94a9e4dd43.tar.gz nuttx-26b2fe3e5bfff38e941312edf4a6fe94a9e4dd43.tar.bz2 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/nsh')
-rw-r--r-- | apps/examples/nsh/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/examples/nsh/Makefile b/apps/examples/nsh/Makefile index ea20b7498..28d0cf6b6 100644 --- a/apps/examples/nsh/Makefile +++ b/apps/examples/nsh/Makefile @@ -40,7 +40,8 @@ include $(APPDIR)/Make.defs # NuttShell (NSH) Example ASRCS = -CSRCS = nsh_main.c +CSRCS = +MAINSRC = nsh_main.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) |