X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..db6096698656d32db7df630594bd9617ee54f828:/pexpert/conf/Makefile.template?ds=sidebyside diff --git a/pexpert/conf/Makefile.template b/pexpert/conf/Makefile.template index 1207442f0..0fcca19b1 100644 --- a/pexpert/conf/Makefile.template +++ b/pexpert/conf/Makefile.template @@ -27,8 +27,8 @@ include $(MakeInc_def) # CFLAGS # # -CFLAGS+= -imacros meta_features.h -DPEXPERT_KERNEL_PRIVATE \ - -Werror $(CFLAGS_INLINE_CONFIG) +CFLAGS+= -include meta_features.h -DPEXPERT_KERNEL_PRIVATE \ + $(CFLAGS_INLINE_CONFIG) # # Directories for mig generated files @@ -74,16 +74,16 @@ ${OBJS}: ${OBJSDEPS} LDOBJS = $(OBJS) -$(COMPONENT).o: $(LDOBJS) +$(COMPONENT).filelist: $(LDOBJS) @echo LDFILELIST $(COMPONENT) $(_v)( for obj in ${LDOBJS}; do \ echo $(TARGET)$(COMP_OBJ_DIR)/$(KERNEL_CONFIG)/$${obj}; \ - done; ) > $(COMPONENT).o + done; ) > $(COMPONENT).filelist do_depend: do_all $(_v)${MD} -u Makedep -f -d `ls *.d`; -do_all: $(COMPONENT).o +do_all: $(COMPONENT).filelist do_build_all: do_depend