X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0b4e3aa066abc0728aacb4bbeb86f53f9737156e..483a1d1004b64bbaaef2c64c17c6b999009a54d2:/iokit/conf/Makefile.template diff --git a/iokit/conf/Makefile.template b/iokit/conf/Makefile.template index 35daa9e5a..bf9b2d38b 100644 --- a/iokit/conf/Makefile.template +++ b/iokit/conf/Makefile.template @@ -28,9 +28,12 @@ include $(MakeInc_def) # CFLAGS+= -DKERNEL -DDRIVER_PRIVATE \ -Wall -Wno-four-char-constants -fno-common \ - -DIOMATCHDEBUG=1 -DIOALLOCDEBUG=1 -DIOASSERT=0 \ + -DIOMATCHDEBUG=1 -DIOALLOCDEBUG=1 \ #-DIOKITDEBUG=-1 +CFLAGS_RELEASE += -DIOASSERT=0 +CFLAGS_DEBUG += -DIOASSERT=1 + SFLAGS+= -DKERNEL # @@ -88,7 +91,7 @@ LDOBJS = $(OBJS) $(COMPONENT).o: $(LDOBJS) @echo "creating $(COMPONENT).o" $(RM) $(RMFLAGS) vers.c - $(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)/newvers \ + $(COMPOBJROOT)/newvers \ `$(CAT) ${VERSION_FILES}` ${COPYRIGHT_FILES} ${KCC} $(CFLAGS) $(INCLUDES) -c vers.c @echo [ updating $(COMPONENT).o ${IOKIT_KERNEL_CONFIG} ]