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/i2schar/Makefile | |
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/i2schar/Makefile')
-rw-r--r-- | apps/examples/i2schar/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/examples/i2schar/Makefile b/apps/examples/i2schar/Makefile index 8e3473aa1..ba44b401f 100644 --- a/apps/examples/i2schar/Makefile +++ b/apps/examples/i2schar/Makefile @@ -40,13 +40,14 @@ include $(APPDIR)/Make.defs # I2S character driver test ASRCS = -CSRCS = i2schar_main.c +CSRCS = ifeq ($(CONFIG_EXAMPLES_I2SCHAR_TX),y) CSRCS += i2schar_transmitter.c endif ifeq ($(CONFIG_EXAMPLES_I2SCHAR_RX),y) CSRCS += i2schar_receiver.c endif +MAINSRC = i2schar_main.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) |