]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/conf/Makefile.template
xnu-1456.1.26.tar.gz
[apple/xnu.git] / osfmk / conf / Makefile.template
index d3596adef800eccb2d4023eda6b3c7b40331516f..75f1c7f31e01308c0e042028483e3fa6a0048461 100644 (file)
@@ -38,11 +38,15 @@ COMP_SUBDIRS = \
        mach \
        UserNotification \
        gssd \
+       kextd \
        lockd
 
 COMP_SUBDIRS_I386 = \
        mach
 
+COMP_SUBDIRS_X86_64 = \
+       mach
+
 #
 #  Make sure we don't remove this by accident if interrupted at the wrong
 #  time.
@@ -88,8 +92,10 @@ $(COMPONENT).o: $(LDOBJS) assym.s
                 $(SEG_HACK) __HIB $${hib_file} -o $${hib_file}__; \
                 mv $${hib_file}__ $${hib_file} ; \
        done;
-       @echo LD $(COMPONENT)
-       $(_v)$(LD)  $(LDFLAGS_COMPONENT)  -o $(COMPONENT).o ${LDOBJS}
+       @echo LDFILELIST $(COMPONENT)
+       $(_v)( for obj in ${LDOBJS}; do \
+                echo $(TARGET)$(COMP_OBJ_DIR)/$(KERNEL_CONFIG)/$${obj}; \
+       done; ) > $(COMPONENT).o
 
 do_all: $(COMPONENT).o