]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/conf/Makefile
xnu-344.tar.gz
[apple/xnu.git] / bsd / conf / Makefile
index c2e1c4abc6d78be5ab52284531713758680353e2..fee0600ae356c3b5ebbbb39fc04380cb49811437 100644 (file)
@@ -47,14 +47,13 @@ do_setup_conf: $(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)/doconf \
 
 do_all: do_setup_conf
        @echo "[ $(SOURCE) ] Starting do_all  $(COMPONENT) $(BSD_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)";      \
 
 do_all: do_setup_conf
        @echo "[ $(SOURCE) ] Starting do_all  $(COMPONENT) $(BSD_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)";      \
-       (cd $(COMPOBJROOT)/$(BSD_KERNEL_CONFIG);                                \
        next_source=$(subst conf/,,$(SOURCE));                  \
        next_source=$(subst conf/,,$(SOURCE));                  \
-       ${MAKE} MAKEFILES=$(TARGET)/$(BSD_KERNEL_CONFIG)/Makefile       \
+       ${MAKE} -C $(COMPOBJROOT)/$(BSD_KERNEL_CONFIG)  \
+               MAKEFILES=$(TARGET)/$(BSD_KERNEL_CONFIG)/Makefile       \
                SOURCE=$${next_source}                  \
                TARGET=$(TARGET)                                        \
                INCL_MAKEDEP=FALSE      \
                SOURCE=$${next_source}                  \
                TARGET=$(TARGET)                                        \
                INCL_MAKEDEP=FALSE      \
-               build_all       \
-       );              \
+               build_all;      \
        echo "[ $(SOURCE) ] Returning do_all $(COMPONENT) $(BSD_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)";
 
 do_build_all: do_all 
        echo "[ $(SOURCE) ] Returning do_all $(COMPONENT) $(BSD_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)";
 
 do_build_all: do_all