X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b7266188b87f3620ec3f9f717e57194a7dd989fe..d1ecb069dfe24481e4a83f44cb5217a2b06746d7:/iokit/conf/Makefile.template?ds=sidebyside diff --git a/iokit/conf/Makefile.template b/iokit/conf/Makefile.template index 80dfe4328..55d99d413 100644 --- a/iokit/conf/Makefile.template +++ b/iokit/conf/Makefile.template @@ -86,10 +86,11 @@ ${OBJS}: ${OBJSDEPS} LDOBJS = $(OBJS) $(COMPONENT).o: $(LDOBJS) - $(_v)$(SEG_HACK) __HIB IOHibernateRestoreKernel.o -o _IOHibernateRestoreKernel.o - $(_v)mv _IOHibernateRestoreKernel.o IOHibernateRestoreKernel.o - $(_v)$(SEG_HACK) __HIB WKdmDecompress.o -o _WKdmDecompress.o - $(_v)mv _WKdmDecompress.o WKdmDecompress.o + $(_v)for hib_file in ${HIB_FILES}; \ + do \ + $(SEG_HACK) __HIB $${hib_file} -o $${hib_file}__; \ + mv $${hib_file}__ $${hib_file} ; \ + done; @echo LDFILELIST $(COMPONENT) $(_v)( for obj in ${LDOBJS}; do \ echo $(TARGET)$(COMP_OBJ_DIR)/$(KERNEL_CONFIG)/$${obj}; \