Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL

This commit is contained in:
Gregory Nutt
2014-08-29 14:47:22 -06:00
parent 365a3d8466
commit e3ff0689bb
210 changed files with 690 additions and 655 deletions
+2 -2
View File
@@ -37,7 +37,7 @@
# CFLAGS
ifeq ($(CONFIG_NUTTX_KERNEL),y)
ifeq ($(CONFIG_BUILD_PROTECTED),y)
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
KDEFINE = ${shell $(TOPDIR)\tools\define.bat "$(CC)" __KERNEL__}
else
@@ -185,7 +185,7 @@ endif
# Dependencies
.depend: Makefile gensources $(SRCS)
ifeq ($(CONFIG_NUTTX_KERNEL),y)
ifeq ($(CONFIG_BUILD_PROTECTED),y)
$(Q) $(MKDEP) --obj-path ubin --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make_ubin.dep
$(Q) $(MKDEP) --obj-path kbin --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) $(KDEFINE) -- $(SRCS) >Make_kbin.dep
else