direct-io.hg
changeset 1800:20b04731d29f
bitkeeper revision 1.1094 (40f64e48IpUzrEwjDEyKFZ9I2_7t6A)
prefer config file from previous install over defconfig file
prefer config file from previous install over defconfig file
author | cl349@freefall.cl.cam.ac.uk |
---|---|
date | Thu Jul 15 09:28:40 2004 +0000 (2004-07-15) |
parents | d649c3c63b9c |
children | a825d179881d fae04444ff22 |
files | Makefile |
line diff
1.1 --- a/Makefile Wed Jul 14 22:22:57 2004 +0000 1.2 +++ b/Makefile Thu Jul 15 09:28:40 2004 +0000 1.3 @@ -83,6 +83,9 @@ config-xen%: 1.4 else 1.5 config-xen%: 1.6 $(MAKE) -C $(CDIR) ARCH=xen mrproper 1.7 + @[ -e $(LINUX_CONFIG_DIR)/config-$(LINUX_VER)-$(subst config-,,$@) ] \ 1.8 + && cp $(LINUX_CONFIG_DIR)/config-$(LINUX_VER)-$(subst config-,,$@) \ 1.9 + $(CDIR)/.config || \ 1.10 $(MAKE) -C $(CDIR) ARCH=xen $(subst config-,,$@)_defconfig 1.11 endif 1.12