tools/Config.mk: add DEFINE macro like INCDIR

This commit is contained in:
Xiang Xiao
2018-05-13 17:22:25 +08:00
committed by Gregory Nutt
parent 2483b65bfb
commit adbff7de81
6 changed files with 7 additions and 17 deletions
+1 -5
View File
@@ -38,11 +38,7 @@
# CFLAGS
ifneq ($(CONFIG_BUILD_FLAT),y)
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
KDEFINE = ${shell $(TOPDIR)\tools\define.bat "$(CC)" __KERNEL__}
else
KDEFINE = ${shell $(TOPDIR)/tools/define.sh "$(CC)" __KERNEL__}
endif
KDEFINE = ${shell $(DEFINE) "$(CC)" __KERNEL__}
endif
# Sources and paths