Fix another corner case in the build system.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
cl349@firebug.cl.cam.ac.uk committed 2006-02-03 09:54:04 +00:00
1 parent 2304302edf
commit 9c3cd0101e
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -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$
+6 -6
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.