aboutsummaryrefslogtreecommitdiffstats
path: root/buildconfigs/Rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'buildconfigs/Rules.mk')
-rw-r--r--buildconfigs/Rules.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk
index 60b4fea1db..11f4009525 100644
--- a/buildconfigs/Rules.mk
+++ b/buildconfigs/Rules.mk
@@ -1,4 +1,6 @@
+include Config.mk
+
# We expect these two to already be set if people
# are using the top-level Makefile
DISTDIR ?= $(CURDIR)/dist
@@ -53,6 +55,7 @@ pristine-%: %.tar.bz2
tar -C tmp-$(@F) -jxf $<
mv tmp-$(@F)/* $@
touch $@ # update timestamp to avoid rebuild
+ touch $@/.bk_skip
@rm -rf tmp-$(@F)
OS_PATCHES = $(shell echo patches/$(OS)-$(OS_VER)/*.patch)
@@ -75,6 +78,9 @@ ref-%: pristine-% $(OS_PATCHES)
%-clean:
$(MAKE) -f buildconfigs/mk.$* clean
+%-config:
+ $(MAKE) -f buildconfigs/mk.$* config
+
%-xen.patch: ref-%
rm -rf tmp-$@
cp -al $< tmp-$@