build: Move MKDEP definition to common place

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-05-19 12:30:46 +08:00
committed by Abdelatif Guettouche
parent 9ec9431706
commit 8b42ee421a
238 changed files with 20 additions and 712 deletions
@@ -77,11 +77,6 @@ ifeq ($(CONFIG_WINDOWS_NATIVE),y)
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -Wundef -g -pipe
HOSTLDFLAGS =
HOSTEXEEXT = .exe
# Windows-native host tools
#MKDEP = $(TOPDIR)\tools\mkdeps.exe --winnative
MKDEP = $(TOPDIR)$(DELIM)tools$(DELIM)mknulldeps.sh
else
# Linux/Cygwin host tool definitions
@@ -90,9 +85,6 @@ else
HOSTINCLUDES = -I.
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -Wundef -g -pipe
HOSTLDFLAGS =
# This is the tool to use for dependencies (i.e., none)
MKDEP = $(TOPDIR)$(DELIM)tools$(DELIM)mknulldeps.sh
endif
MKDEP = $(TOPDIR)$(DELIM)tools$(DELIM)mknulldeps.sh