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 11678ed9db..fe02b1e11b 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 @@ endif
$(patsubst %,pristine-%/.valid-pristine,$(ALLSPARSETREES)) : pristine-%/.valid-pristine: %.tar.bz2
rm -rf tmp-pristine-$* $(@D)
mkdir -p tmp-pristine-$*
+ touch tmp-pristine-$*/.bk_skip
tar -C tmp-pristine-$* -jxf $<
mv tmp-pristine-$*/* $(@D)
@rm -rf tmp-pristine-$*
@@ -84,6 +87,9 @@ ref-%/.valid-ref: pristine-%/.valid-pristine
%-clean:
$(MAKE) -f buildconfigs/mk.$* clean
+%-config:
+ $(MAKE) -f buildconfigs/mk.$* config
+
%-xen.patch: ref-%/.valid-ref
rm -rf tmp-$@
cp -al $(<D) tmp-$@