xen_dist:
else
.PHONY: xen-dist
-xen-dist: xen-dist-nodep xen-tools
+xen-dist: xen-hypervisor xen-tools
endif
.PHONY: xen-clean
xen-clean:
if [ -e xen ]; then \
rm -Rf xen/tools/iommu-remote; \
- $(MAKE) -C xen clean; \
- $(MAKE) -C xen mrproper; \
+ $(MAKE) -j$$(($(NCPUS) * 2)) -C xen clean; \
+ $(MAKE) -j$$(($(NCPUS) * 2)) -C xen mrproper; \
if [ -e xen/tools/config.h ]; then rm xen/tools/config.h; fi; \
if [ -e xen/tools/firmware/seabios-dir/out/autoconf.h ]; then rm xen/tools/firmware/seabios-dir/out/autoconf.h; fi; \
fi
xen-distclean: xen-clean
if [ -e xen ]; then \
- $(MAKE) -C xen distclean; \
+ $(MAKE) -j$$(($(NCPUS) * 2)) -C xen distclean; \
fi \
.PHONY: root_image-clean
root_image-clean:
if [ -e root_image ];then \
- $(MAKE) -C root_image clean \
+ $(MAKE) -j$$(($(NCPUS) * 2)) -C root_image clean \
;fi
root_image-distclean: root_image-clean
if [ -e root_image ];then \
- $(MAKE) -C root_image distclean \
+ $(MAKE) -j$$(($(NCPUS) * 2)) -C root_image distclean \
;fi
.PHONY: syslinux-clean
syslinux-clean:
if [ -e syslinux ]; then \
- $(MAKE) -C syslinux clean \
+ $(MAKE) -j$$(($(NCPUS) * 2)) -C syslinux clean \
;fi
.PHONY: syslinux