Put back libapps to the default LDLIBS, even for KERNEL build

This is a partial revert of b5cfd9344439c9aeb25c539431a034bdca6b5154
("apps/: Modification to build system: Unified application compilation rules")
This commit is contained in:
YAMAMOTO Takashi 2020-02-26 14:30:56 +09:00 committed by Xiang Xiao
parent 9d59f5e524
commit 38f006464b

View File

@ -153,10 +153,8 @@ endif
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(APPDIR)$(DELIM)include"}
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(APPDIR)$(DELIM)include"}
ifneq ($(CONFIG_BUILD_KERNEL),y)
ifeq ($(WINTOOL),y)
LDLIBS ?= "${shell cygpath -w $(BIN)}"
else
LDLIBS ?= $(BIN)
endif
endif