If now a kernel build, then add the main object in with all of the rest

This commit is contained in:
Gregory Nutt
2014-09-07 07:05:54 -06:00
parent 22eb5d5c46
commit b65500c289
85 changed files with 340 additions and 0 deletions

View File

@@ -52,6 +52,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