mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Fix another corner case in the build system.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
1 parent
2304302edf
commit
9c3cd0101e
2 files changed
+7
-7
No files matched your search
@@ -14,7 +14,6 @@
|
||||
.*\.orig$
|
||||
.*\.rej$
|
||||
^[^/]*\.bz2$
|
||||
^\.valid-srcs$
|
||||
^TAGS$
|
||||
^dist/.*$
|
||||
^docs/.*\.aux$
|
||||
@@ -68,6 +67,7 @@
|
||||
^patches/tmp/.*$
|
||||
^pristine-.*$
|
||||
^ref-.*$
|
||||
^tmp-.*$
|
||||
^tools/.*/TAGS$
|
||||
^tools/.*/build/lib.*/.*\.py$
|
||||
^tools/blktap/Makefile\.smh$
|
||||
|
||||
@@ -22,18 +22,18 @@ build: $(LINUX_DIR)/include/linux/autoconf.h
|
||||
fi
|
||||
$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) INSTALL_PATH=$(DESTDIR) install
|
||||
|
||||
.valid-srcs: $(LINUX_SRCS)
|
||||
touch $@
|
||||
|
||||
pristine-linux-%.16-rc1-git4/.valid-pristine: .valid-srcs
|
||||
pristine-$(LINUX_PDIR)/.valid-srcs: $(LINUX_SRCS)
|
||||
rm -rf tmp-pristine-$(LINUX_PDIR) $(@D)
|
||||
mkdir -p tmp-pristine-$(LINUX_PDIR)
|
||||
tar -C tmp-pristine-$(LINUX_PDIR) -jxf $(word 1,$(LINUX_SRCS))
|
||||
tar -C tmp-pristine-$(LINUX_PDIR) -jxf $(word 1,$<)
|
||||
-@rm tmp-pristine-$(LINUX_PDIR)/pax_global_header
|
||||
mv tmp-pristine-$(LINUX_PDIR)/* $(@D)
|
||||
@rm -rf tmp-pristine-$(LINUX_PDIR)
|
||||
bzcat $(wordlist 2,$(words $(LINUX_SRCS)),$(LINUX_SRCS)) | patch -d $(@D) -p1
|
||||
bzcat $(wordlist 2,$(words $<),$<) | patch -d $(@D) -p1
|
||||
touch $(@D)/.hgskip
|
||||
touch $@
|
||||
|
||||
pristine-linux-%.16-rc1-git4/.valid-pristine: pristine-$(LINUX_PDIR)/.valid-srcs
|
||||
touch $@ # update timestamp to avoid rebuild
|
||||
|
||||
$(LINUX_DIR)/include/linux/autoconf.h: ref-$(OS)-$(LINUX_VER)/.valid-ref
|
||||
|
||||