build: Move .config check to the top Makefile

remove the workaround to handle the inexistence of .config/Make.defs

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-05-19 03:42:11 +08:00
committed by Abdelatif Guettouche
parent 3c622db780
commit 1a95cce1a3
279 changed files with 305 additions and 342 deletions
+1 -3
View File
@@ -18,7 +18,7 @@
#
###########################################################################
-include $(TOPDIR)/Make.defs
include $(TOPDIR)/Make.defs
# Sources and paths
@@ -113,8 +113,6 @@ CSRCS += modlib_sys_symtab.c
endif
# REVISIT: Backslash causes problems in $(COBJS) target
DELIM := $(strip /)
BINDIR ?= bin
AOBJS = $(patsubst %.S, $(BINDIR)$(DELIM)%$(OBJEXT), $(ASRCS))