summaryrefslogtreecommitdiff
path: root/apps/system/cdcacm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/cdcacm/Makefile')
-rw-r--r--apps/system/cdcacm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/system/cdcacm/Makefile b/apps/system/cdcacm/Makefile
index 8084c4880..c76dc278b 100644
--- a/apps/system/cdcacm/Makefile
+++ b/apps/system/cdcacm/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