X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/f427ee49d309d8fc33ebf3042c3a775f2f530ded..c3c9b80d004dbbfdf763edeb97968c6997e3b45b:/osfmk/conf/Makefile.template diff --git a/osfmk/conf/Makefile.template b/osfmk/conf/Makefile.template index 304d4ae7b..a09b5d2c3 100644 --- a/osfmk/conf/Makefile.template +++ b/osfmk/conf/Makefile.template @@ -61,6 +61,8 @@ COMP_SUBDIRS = \ %OBJS +%LIBOBJS + %CFILES %CXXFILES @@ -130,7 +132,6 @@ uat.o_CFLAGS_ADD += -Wno-implicit-int-conversion video_console.o_CFLAGS_ADD += -Wno-implicit-int-conversion xcpm_dvfs.o_CFLAGS_ADD += -Wno-implicit-int-conversion xcpm_ioctl.o_CFLAGS_ADD += -Wno-implicit-int-conversion -zalloc.o_CFLAGS_ADD += -Wno-implicit-int-conversion # -Wno-shorten-64-to-32 arm_vm_init.o_CFLAGS_ADD += -Wno-shorten-64-to-32 backtrace.o_CFLAGS_ADD += -Wno-shorten-64-to-32 @@ -164,7 +165,6 @@ vm_object.o_CFLAGS_ADD += -Wno-shorten-64-to-32 vm_shared_region_pager.o_CFLAGS_ADD += -Wno-shorten-64-to-32 vm_swapfile_pager.o_CFLAGS_ADD += -Wno-shorten-64-to-32 vm_user.o_CFLAGS_ADD += -Wno-shorten-64-to-32 -zalloc.o_CFLAGS_ADD += -Wno-shorten-64-to-32 # -Wno-sign-conversion Diagnostics.o_CFLAGS_ADD += -Wno-sign-conversion acpi.o_CFLAGS_ADD += -Wno-sign-conversion @@ -366,8 +366,6 @@ xcpm_dvfs.o_CFLAGS_ADD += -Wno-sign-conversion xcpm_fi.o_CFLAGS_ADD += -Wno-sign-conversion xcpm_idle.o_CFLAGS_ADD += -Wno-sign-conversion xcpm_ioctl.o_CFLAGS_ADD += -Wno-sign-conversion -zalloc.o_CFLAGS_ADD += -Wno-sign-conversion -zcache.o_CFLAGS_ADD += -Wno-sign-conversion # Rebuild if per-file overrides change ${OBJS}: $(firstword $(MAKEFILE_LIST)) @@ -394,7 +392,17 @@ $(COMPONENT).filelist: $(OBJS) $(ECHO) $(TARGET)/$(CURRENT_KERNEL_CONFIG)/$${obj}; \ done > $(COMPONENT).filelist +$(COMPONENT).libfilelist: $(LIBOBJS) + @$(LOG_LDFILELIST) "lib$(COMPONENT)" + $(_v)for obj in ${LIBOBJS}; do \ + $(ECHO) $(TARGET)/$(CURRENT_KERNEL_CONFIG)/$${obj}; \ + done > $(COMPONENT).libfilelist + +ifeq ($(RC_ProjectName),xnu_libraries) +do_all: $(COMPONENT).libfilelist +else do_all: $(COMPONENT).filelist +endif do_build_all:: do_all