$(INSTALL_DIR) $(DESTDIR)/var/lib/xen
$(INSTALL_DIR) $(DESTDIR)/var/lock/subsys
-.PHONY: clean distclean
-clean distclean: subdirs-clean
+.PHONY: clean
+clean: subdirs-clean
+
+.PHONY: distclean
+distclean: subdirs-distclean
ifneq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
IOEMU_CONFIGURE_CROSS ?= --cpu=$(XEN_TARGET_ARCH) \
subdir-install-debugger/gdbsx:
$(MAKE) -C debugger/gdbsx install
+
+subdir-distclean-firmware: .phony
+ $(MAKE) -C firmware distclean
%.o: %.cc
$(CC) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
-subdirs-all subdirs-clean subdirs-install: .phony
+subdirs-all subdirs-clean subdirs-install subdirs-distclean: .phony
@set -e; for subdir in $(SUBDIRS) $(SUBDIRS-y); do \
$(MAKE) subdir-$(patsubst subdirs-%,%,$@)-$$subdir; \
done
subdir-all-% subdir-clean-% subdir-install-%: .phony
$(MAKE) -C $* $(patsubst subdir-%-$*,%,$@)
+
+subdir-distclean-%: .phony
+ $(MAKE) -C $* clean
.PHONY: clean
clean: subdirs-clean
+
+.PHONY: distclean
+distclean: subdirs-distclean
+
+subdir-distclean-etherboot: .phony
+ $(MAKE) -C etherboot distclean
\ No newline at end of file
.PHONY: clean
clean:
rm -rf $D $D.git *~ eb-roms.h
+
+.PHONY: distclean
+distclean: clean
+ rm -rf $T