From 9d59f5e524059a24f48cfbe798cf3de0259cdbc5 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 26 Feb 2020 14:08:40 +0900 Subject: [PATCH] Revert "Remove libapps.a from LDLIBS" It was necessary for PROTECTED build. This reverts commit 4ee39e208048f075860179a0a2b60c3a651cf16e. --- Make.defs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Make.defs b/Make.defs index dcc640268..505af7d44 100644 --- a/Make.defs +++ b/Make.defs @@ -152,3 +152,11 @@ 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