diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-07 07:05:54 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-07 07:05:54 -0600 |
commit | 5a874f322600b650145dcb55bdf51e66fbf4acef (patch) | |
tree | 53ca82ce060bf7a9a219eed794be1c2b4f608340 /apps/examples/configdata | |
parent | 6ba90d01b2bc73b9ffd9a0ca8305f97ed34efb68 (diff) | |
download | px4-nuttx-5a874f322600b650145dcb55bdf51e66fbf4acef.tar.gz px4-nuttx-5a874f322600b650145dcb55bdf51e66fbf4acef.tar.bz2 px4-nuttx-5a874f322600b650145dcb55bdf51e66fbf4acef.zip |
If now a kernel build, then add the main object in with all of the rest
Diffstat (limited to 'apps/examples/configdata')
-rw-r--r-- | apps/examples/configdata/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/configdata/Makefile b/apps/examples/configdata/Makefile index a2083657b..3d87b6a77 100644 --- a/apps/examples/configdata/Makefile +++ b/apps/examples/configdata/Makefile @@ -48,6 +48,10 @@ COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) $(MAINSRC) OBJS = $(AOBJS) $(COBJS) +ifneq ($(CONFIG_BUILD_KERNEL),y) + OBJS += $(MAINOBJ) +endif + ifeq ($(CONFIG_WINDOWS_NATIVE),y) BIN = ..\..\libapps$(LIBEXT) else |