ia64/xen-unstable

changeset 16281:cc58c6f3950e

Refactor buildconfigs/mk.* to make the common rules separate from the
-xen specific configuration.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
author Ian Campbell <ian.campbell@xensource.com>
date Tue Oct 30 16:02:33 2007 +0000 (2007-10-30)
parents 0c64074794da
children 44dde35cb2a6
files buildconfigs/mk.linux-2.6 buildconfigs/mk.linux-2.6-common buildconfigs/mk.linux-2.6-native buildconfigs/mk.linux-2.6-xen buildconfigs/mk.linux-2.6.5-SLES-xen
line diff
     1.1 --- a/buildconfigs/mk.linux-2.6	Tue Oct 30 16:01:07 2007 +0000
     1.2 +++ b/buildconfigs/mk.linux-2.6	Tue Oct 30 16:02:33 2007 +0000
     1.3 @@ -7,4 +7,4 @@ XEN_LINUX_CONFIG_UPDATE := buildconfigs/
     1.4  
     1.5  EXTRAVERSION ?=
     1.6  
     1.7 -include buildconfigs/mk.linux-2.6-xen
     1.8 +include buildconfigs/mk.linux-2.6-common
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/buildconfigs/mk.linux-2.6-common	Tue Oct 30 16:02:33 2007 +0000
     2.3 @@ -0,0 +1,158 @@
     2.4 +LINUX_SERIES = 2.6
     2.5 +
     2.6 +# Linux search path, will be searched for tarballs and mercurial
     2.7 +# repositories.
     2.8 +LINUX_SRC_PATH ?= .:..
     2.9 +
    2.10 +# The source directory is not automatically updated to avoid blowing
    2.11 +# away developer's changes. If you want to automatically pull a new
    2.12 +# version of the Linux tree then add `XEN_LINUX_UPDATE=y' to your make
    2.13 +# command line.
    2.14 +ifeq ($(XEN_LINUX_UPDATE),y)
    2.15 +__XEN_LINUX_UPDATE = $(LINUX_SRCDIR)/.force-update
    2.16 +else
    2.17 +__XEN_LINUX_UPDATE =
    2.18 +endif
    2.19 +
    2.20 +# Let XEN_TARGET_ARCH override ARCH.
    2.21 +ifeq ($(XEN_TARGET_ARCH),x86_32)
    2.22 +LINUX_ARCH	?= i386
    2.23 +else
    2.24 +LINUX_ARCH	?= $(XEN_TARGET_ARCH)
    2.25 +endif
    2.26 +
    2.27 +LINUX_DIR     = build-linux-$(LINUX_VER)$(EXTRAVERSION)_$(XEN_TARGET_ARCH)
    2.28 +
    2.29 +IMAGE_TARGET ?= vmlinuz
    2.30 +ifneq ($(XEN_TARGET_ARCH),ia64)
    2.31 +IMAGE_PATH ?= arch/$(LINUX_ARCH)/boot/$(firstword $(IMAGE_TARGET))
    2.32 +else
    2.33 +IMAGE_PATH ?= arch/ia64/hp/sim/boot/vmlinux.gz
    2.34 +endif
    2.35 +INSTALL_BOOT_PATH := $(DESTDIR)/boot
    2.36 +
    2.37 +LINUX_VER3  := $(LINUX_SERIES).$(word 3, $(subst ., ,$(LINUX_VER)))
    2.38 +
    2.39 +.PHONY: _build
    2.40 +_build: build
    2.41 +
    2.42 +include buildconfigs/src.$(XEN_LINUX_SOURCE)
    2.43 +
    2.44 +# Default to allowing interface mismatch
    2.45 +ifndef XEN_LINUX_ALLOW_INTERFACE_MISMATCH
    2.46 +XEN_LINUX_ALLOW_INTERFACE_MISMATCH := y
    2.47 +endif
    2.48 +
    2.49 +KERNELRELEASE = $(shell $(MAKE) -s --no-print-directory -C $(LINUX_DIR) kernelrelease)
    2.50 +
    2.51 +# The real action starts here!
    2.52 +.PHONY: build
    2.53 +build: $(LINUX_DIR)/include/linux/autoconf.h
    2.54 +ifneq ($(XEN_LINUX_ALLOW_INTERFACE_MISMATCH),y)
    2.55 +	@if ! diff -urN -X buildconfigs/interface.exclude \
    2.56 +              $(LINUX_SRCDIR)/include/xen/interface xen/include/public ; then \
    2.57 +		echo "" 1>&2 ; \
    2.58 +		echo " *** $(LINUX_SRCDIR)/include/xen/interface is out of date " 1>&2 ; \
    2.59 +		echo " *** relative to $(XEN_ROOT)/xen/include/public." 1>&2 ; \
    2.60 +		echo "" 1>&2 ; \
    2.61 +		exit 1 ; \
    2.62 +	fi
    2.63 +endif
    2.64 +	if grep "^CONFIG_MODULES=" $(LINUX_DIR)/.config ; then \
    2.65 +	    $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) modules ; \
    2.66 +	    $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) INSTALL_MOD_PATH=$(DESTDIR) modules_install ; \
    2.67 +	fi
    2.68 +	$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) INSTALL_PATH=$(DESTDIR) $(IMAGE_TARGET)
    2.69 +	mkdir -p $(INSTALL_BOOT_PATH)
    2.70 +	cp $(LINUX_DIR)/$(IMAGE_PATH) $(INSTALL_BOOT_PATH)/vmlinuz-$(KERNELRELEASE)
    2.71 +	cp $(LINUX_DIR)/.config $(INSTALL_BOOT_PATH)/config-$(KERNELRELEASE)
    2.72 +	cp $(LINUX_DIR)/System.map $(INSTALL_BOOT_PATH)/System.map-$(KERNELRELEASE)
    2.73 +
    2.74 +$(LINUX_DIR)/include/linux/autoconf.h: CONFIG_FILE=$(CURDIR)/$(LINUX_DIR)/.config
    2.75 +$(LINUX_DIR)/include/linux/autoconf.h: $(LINUX_SRCDIR)/.valid-src
    2.76 +	rm -rf $(LINUX_DIR)
    2.77 +	mkdir -p $(LINUX_DIR)
    2.78 +	# Re-use config from install dir if one exists. Next try to use
    2.79 +	# buildconfigs/create_config.sh is one is provided by the source
    2.80 +	# tree. Finally attempt to use make defconfig.
    2.81 +	set -e ; \
    2.82 +	CONFIG_VERSION=$$(sed -ne 's/$$(XENGUEST)//; s/^EXTRAVERSION = //p' $(LINUX_SRCDIR)/Makefile); \
    2.83 +	if [ -r $(DESTDIR)/boot/config-$(LINUX_VER3)$$CONFIG_VERSION$(EXTRAVERSION) ] ; then \
    2.84 +	  cp $(DESTDIR)/boot/config-$(LINUX_VER3)$$CONFIG_VERSION$(EXTRAVERSION) $(CONFIG_FILE) ; \
    2.85 +        elif [ -e $(LINUX_SRCDIR)/buildconfigs/create_config.sh ] ; then \
    2.86 +	  cd $(LINUX_SRCDIR) && sh buildconfigs/create_config.sh \
    2.87 +		$(CONFIG_FILE) $(EXTRAVERSION) $(XEN_TARGET_ARCH) $(XEN_SYSTYPE) ; \
    2.88 +          echo "Configured $(LINUX_DIR) using create_config.sh" ; \
    2.89 +	elif $(MAKE) -C $(LINUX_SRCDIR) ARCH=$(LINUX_ARCH) defconfig O=$$(/bin/pwd)/$(LINUX_DIR) ; then \
    2.90 +	  echo "Configured $(LINUX_DIR) using defconfig" ; \
    2.91 +	else \
    2.92 +          echo "No configuration method found for this kernel" ; \
    2.93 +	fi
    2.94 +ifneq ($(XEN_LINUX_CONFIG_UPDATE),)
    2.95 +	echo "Updating $(CONFIG_FILE) using $(XEN_LINUX_CONFIG_UPDATE)"
    2.96 +	sh $(XEN_LINUX_CONFIG_UPDATE) $(CONFIG_FILE)
    2.97 +endif
    2.98 +ifeq ($(XEN_TARGET_ARCH),x86_32)
    2.99 +ifeq ($(pae),y)
   2.100 +	sed -e 's!^CONFIG_HIGHMEM4G=y$$!\# CONFIG_HIGHMEM4G is not set!;s!^\# CONFIG_HIGHMEM64G is not set$$!CONFIG_HIGHMEM64G=y!' $(CONFIG_FILE) > $(CONFIG_FILE)- && mv $(CONFIG_FILE)- $(CONFIG_FILE)
   2.101 +else
   2.102 +	grep '^CONFIG_HIGHMEM64G=y' $(CONFIG_FILE) >/dev/null && ( sed -e 's!^CONFIG_HIGHMEM64G=y$$!\# CONFIG_HIGHMEM64G is not set!;s!^\# CONFIG_HIGHMEM4G is not set$$!CONFIG_HIGHMEM4G=y!' $(CONFIG_FILE) > $(CONFIG_FILE)- && mv $(CONFIG_FILE)- $(CONFIG_FILE) ) || true
   2.103 +endif
   2.104 +endif
   2.105 +ifneq ($(EXTRAVERSION),)
   2.106 +	echo "$(EXTRAVERSION)" >$(LINUX_DIR)/localversion-xen
   2.107 +endif
   2.108 +	$(MAKE) -C $(LINUX_SRCDIR) ARCH=$(LINUX_ARCH) oldconfig O=$$(/bin/pwd)/$(LINUX_DIR)
   2.109 +	@if [ ! -f $(LINUX_DIR)/Makefile ] ; then \
   2.110 +	    echo "***********************************"; \
   2.111 +	    echo "oldconfig did not create a Makefile"; \
   2.112 +	    echo "Generating $(LINUX_DIR)/Makefile   "; \
   2.113 +	    echo "***********************************"; \
   2.114 +	    ( echo "# Automatically generated: don't edit"; \
   2.115 +	      echo ""; \
   2.116 +	      echo "VERSION = 2"; \
   2.117 +	      echo "PATCHLEVEL = 6"; \
   2.118 +	      echo ""; \
   2.119 +	      echo "KERNELSRC    := $(CURDIR)/$(LINUX_SRCDIR)"; \
   2.120 +	      echo "KERNELOUTPUT := $(CURDIR)/$(LINUX_DIR)"; \
   2.121 +	      echo ""; \
   2.122 +	      echo "MAKEFLAGS += --no-print-directory"; \
   2.123 +	      echo ""; \
   2.124 +	      echo ".PHONY: all \$$(MAKECMDGOALS)"; \
   2.125 +	      echo ""; \
   2.126 +	      echo "all:"; \
   2.127 +	      echo "	\$$(MAKE) -C \$$(KERNELSRC) O=\$$(KERNELOUTPUT)"; \
   2.128 +	      echo ""; \
   2.129 +	      echo "Makefile:;"; \
   2.130 +	      echo ""; \
   2.131 +	      echo "\$$(filter-out all Makefile,\$$(MAKECMDGOALS)) %/:"; \
   2.132 +	      echo "	\$$(MAKE) -C \$$(KERNELSRC) O=\$$(KERNELOUTPUT) \$$@"; \
   2.133 +	    ) > $(LINUX_DIR)/Makefile ; \
   2.134 +	fi
   2.135 +	$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) prepare
   2.136 +
   2.137 +.PHONY: prep
   2.138 +prep: $(LINUX_DIR)/include/linux/autoconf.h
   2.139 +
   2.140 +.PHONY: config
   2.141 +config: CONFIGMODE = menuconfig
   2.142 +config: $(LINUX_DIR)/include/linux/autoconf.h
   2.143 +	$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) $(CONFIGMODE)
   2.144 +
   2.145 +.PHONY: clean
   2.146 +clean::
   2.147 +	[ ! -d $(LINUX_DIR) ] || \
   2.148 +		$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) clean
   2.149 +
   2.150 +.PHONY: delete
   2.151 +delete: 
   2.152 +	rm -rf tmp-linux-$(LINUX_VER) $(LINUX_DIR) $(LINUX_SRCDIR)
   2.153 +
   2.154 +.PHONY: mrproper
   2.155 +mrproper:
   2.156 +	rm -rf $(LINUX_SRCDIR)
   2.157 +	rm -f linux-$(LINUX_VER).tar.bz2
   2.158 +
   2.159 +.PHONY: $(LINUX_SRCDIR)/.force-update
   2.160 +$(LINUX_SRCDIR)/.force-update:
   2.161 +	@ :
     3.1 --- a/buildconfigs/mk.linux-2.6-native	Tue Oct 30 16:01:07 2007 +0000
     3.2 +++ b/buildconfigs/mk.linux-2.6-native	Tue Oct 30 16:02:33 2007 +0000
     3.3 @@ -2,4 +2,4 @@ EXTRAVERSION = -native
     3.4  IMAGE_TARGET = bzImage
     3.5  INSTALL_BOOT_PATH = $(DESTDIR)/boot
     3.6  
     3.7 -include buildconfigs/mk.linux-2.6-xen
     3.8 +include buildconfigs/mk.linux-2.6-common
     4.1 --- a/buildconfigs/mk.linux-2.6-xen	Tue Oct 30 16:01:07 2007 +0000
     4.2 +++ b/buildconfigs/mk.linux-2.6-xen	Tue Oct 30 16:02:33 2007 +0000
     4.3 @@ -1,163 +1,6 @@
     4.4 -LINUX_SERIES = 2.6
     4.5 -LINUX_VER    ?= 2.6.18
     4.6 -
     4.7  EXTRAVERSION ?= -xen
     4.8 -
     4.9 -# Linux search path, will be searched for tarballs and mercurial
    4.10 -# repositories.
    4.11 -LINUX_SRC_PATH ?= .:..
    4.12 -
    4.13 -# The source directory is not automatically updated to avoid blowing
    4.14 -# away developer's changes. If you want to automatically pull a new
    4.15 -# version of the Linux tree then add `XEN_LINUX_UPDATE=y' to your make
    4.16 -# command line.
    4.17 -ifeq ($(XEN_LINUX_UPDATE),y)
    4.18 -__XEN_LINUX_UPDATE = $(LINUX_SRCDIR)/.force-update
    4.19 -else
    4.20 -__XEN_LINUX_UPDATE =
    4.21 -endif
    4.22 +LINUX_VER    ?= 2.6.18
    4.23  
    4.24  XEN_LINUX_SOURCE ?= hg-clone
    4.25  
    4.26 -# Let XEN_TARGET_ARCH override ARCH.
    4.27 -ifeq ($(XEN_TARGET_ARCH),x86_32)
    4.28 -LINUX_ARCH	?= i386
    4.29 -else
    4.30 -LINUX_ARCH	?= $(XEN_TARGET_ARCH)
    4.31 -endif
    4.32 -
    4.33 -LINUX_DIR     = build-linux-$(LINUX_VER)$(EXTRAVERSION)_$(XEN_TARGET_ARCH)
    4.34 -
    4.35 -IMAGE_TARGET ?= vmlinuz
    4.36 -ifneq ($(XEN_TARGET_ARCH),ia64)
    4.37 -IMAGE_PATH ?= arch/$(LINUX_ARCH)/boot/$(firstword $(IMAGE_TARGET))
    4.38 -else
    4.39 -IMAGE_PATH ?= arch/ia64/hp/sim/boot/vmlinux.gz
    4.40 -endif
    4.41 -INSTALL_BOOT_PATH := $(DESTDIR)/boot
    4.42 -
    4.43 -LINUX_VER3  := $(LINUX_SERIES).$(word 3, $(subst ., ,$(LINUX_VER)))
    4.44 -
    4.45 -.PHONY: _build
    4.46 -_build: build
    4.47 -
    4.48 -include buildconfigs/src.$(XEN_LINUX_SOURCE)
    4.49 -
    4.50 -# Default to allowing interface mismatch
    4.51 -ifndef XEN_LINUX_ALLOW_INTERFACE_MISMATCH
    4.52 -XEN_LINUX_ALLOW_INTERFACE_MISMATCH := y
    4.53 -endif
    4.54 -
    4.55 -KERNELRELEASE = $(shell $(MAKE) -s --no-print-directory -C $(LINUX_DIR) kernelrelease)
    4.56 -
    4.57 -# The real action starts here!
    4.58 -.PHONY: build
    4.59 -build: $(LINUX_DIR)/include/linux/autoconf.h
    4.60 -ifneq ($(XEN_LINUX_ALLOW_INTERFACE_MISMATCH),y)
    4.61 -	@if ! diff -urN -X buildconfigs/interface.exclude \
    4.62 -              $(LINUX_SRCDIR)/include/xen/interface xen/include/public ; then \
    4.63 -		echo "" 1>&2 ; \
    4.64 -		echo " *** $(LINUX_SRCDIR)/include/xen/interface is out of date " 1>&2 ; \
    4.65 -		echo " *** relative to $(XEN_ROOT)/xen/include/public." 1>&2 ; \
    4.66 -		echo "" 1>&2 ; \
    4.67 -		exit 1 ; \
    4.68 -	fi
    4.69 -endif
    4.70 -	if grep "^CONFIG_MODULES=" $(LINUX_DIR)/.config ; then \
    4.71 -	    $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) modules ; \
    4.72 -	    $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) INSTALL_MOD_PATH=$(DESTDIR) modules_install ; \
    4.73 -	fi
    4.74 -	$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) INSTALL_PATH=$(DESTDIR) $(IMAGE_TARGET)
    4.75 -	mkdir -p $(INSTALL_BOOT_PATH)
    4.76 -	cp $(LINUX_DIR)/$(IMAGE_PATH) $(INSTALL_BOOT_PATH)/vmlinuz-$(KERNELRELEASE)
    4.77 -	cp $(LINUX_DIR)/.config $(INSTALL_BOOT_PATH)/config-$(KERNELRELEASE)
    4.78 -	cp $(LINUX_DIR)/System.map $(INSTALL_BOOT_PATH)/System.map-$(KERNELRELEASE)
    4.79 -
    4.80 -$(LINUX_DIR)/include/linux/autoconf.h: CONFIG_FILE=$(CURDIR)/$(LINUX_DIR)/.config
    4.81 -$(LINUX_DIR)/include/linux/autoconf.h: $(LINUX_SRCDIR)/.valid-src
    4.82 -	rm -rf $(LINUX_DIR)
    4.83 -	mkdir -p $(LINUX_DIR)
    4.84 -	# Re-use config from install dir if one exists. Next try to use
    4.85 -	# buildconfigs/create_config.sh is one is provided by the source
    4.86 -	# tree. Finally attempt to use make defconfig.
    4.87 -	set -e ; \
    4.88 -	CONFIG_VERSION=$$(sed -ne 's/$$(XENGUEST)//; s/^EXTRAVERSION = //p' $(LINUX_SRCDIR)/Makefile); \
    4.89 -	if [ -r $(DESTDIR)/boot/config-$(LINUX_VER3)$$CONFIG_VERSION$(EXTRAVERSION) ] ; then \
    4.90 -	  cp $(DESTDIR)/boot/config-$(LINUX_VER3)$$CONFIG_VERSION$(EXTRAVERSION) $(CONFIG_FILE) ; \
    4.91 -        elif [ -e $(LINUX_SRCDIR)/buildconfigs/create_config.sh ] ; then \
    4.92 -	  cd $(LINUX_SRCDIR) && sh buildconfigs/create_config.sh \
    4.93 -		$(CONFIG_FILE) $(EXTRAVERSION) $(XEN_TARGET_ARCH) $(XEN_SYSTYPE) ; \
    4.94 -          echo "Configured $(LINUX_DIR) using create_config.sh" ; \
    4.95 -	elif $(MAKE) -C $(LINUX_SRCDIR) ARCH=$(LINUX_ARCH) defconfig O=$$(/bin/pwd)/$(LINUX_DIR) ; then \
    4.96 -	  echo "Configured $(LINUX_DIR) using defconfig" ; \
    4.97 -	else \
    4.98 -          echo "No configuration method found for this kernel" ; \
    4.99 -	fi
   4.100 -ifneq ($(XEN_LINUX_CONFIG_UPDATE),)
   4.101 -	echo "Updating $(CONFIG_FILE) using $(XEN_LINUX_CONFIG_UPDATE)"
   4.102 -	sh $(XEN_LINUX_CONFIG_UPDATE) $(CONFIG_FILE)
   4.103 -endif
   4.104 -ifeq ($(XEN_TARGET_ARCH),x86_32)
   4.105 -ifeq ($(pae),y)
   4.106 -	sed -e 's!^CONFIG_HIGHMEM4G=y$$!\# CONFIG_HIGHMEM4G is not set!;s!^\# CONFIG_HIGHMEM64G is not set$$!CONFIG_HIGHMEM64G=y!' $(CONFIG_FILE) > $(CONFIG_FILE)- && mv $(CONFIG_FILE)- $(CONFIG_FILE)
   4.107 -else
   4.108 -	grep '^CONFIG_HIGHMEM64G=y' $(CONFIG_FILE) >/dev/null && ( sed -e 's!^CONFIG_HIGHMEM64G=y$$!\# CONFIG_HIGHMEM64G is not set!;s!^\# CONFIG_HIGHMEM4G is not set$$!CONFIG_HIGHMEM4G=y!' $(CONFIG_FILE) > $(CONFIG_FILE)- && mv $(CONFIG_FILE)- $(CONFIG_FILE) ) || true
   4.109 -endif
   4.110 -endif
   4.111 -ifneq ($(EXTRAVERSION),)
   4.112 -	echo "$(EXTRAVERSION)" >$(LINUX_DIR)/localversion-xen
   4.113 -endif
   4.114 -	$(MAKE) -C $(LINUX_SRCDIR) ARCH=$(LINUX_ARCH) oldconfig O=$$(/bin/pwd)/$(LINUX_DIR)
   4.115 -	@if [ ! -f $(LINUX_DIR)/Makefile ] ; then \
   4.116 -	    echo "***********************************"; \
   4.117 -	    echo "oldconfig did not create a Makefile"; \
   4.118 -	    echo "Generating $(LINUX_DIR)/Makefile   "; \
   4.119 -	    echo "***********************************"; \
   4.120 -	    ( echo "# Automatically generated: don't edit"; \
   4.121 -	      echo ""; \
   4.122 -	      echo "VERSION = 2"; \
   4.123 -	      echo "PATCHLEVEL = 6"; \
   4.124 -	      echo ""; \
   4.125 -	      echo "KERNELSRC    := $(CURDIR)/$(LINUX_SRCDIR)"; \
   4.126 -	      echo "KERNELOUTPUT := $(CURDIR)/$(LINUX_DIR)"; \
   4.127 -	      echo ""; \
   4.128 -	      echo "MAKEFLAGS += --no-print-directory"; \
   4.129 -	      echo ""; \
   4.130 -	      echo ".PHONY: all \$$(MAKECMDGOALS)"; \
   4.131 -	      echo ""; \
   4.132 -	      echo "all:"; \
   4.133 -	      echo "	\$$(MAKE) -C \$$(KERNELSRC) O=\$$(KERNELOUTPUT)"; \
   4.134 -	      echo ""; \
   4.135 -	      echo "Makefile:;"; \
   4.136 -	      echo ""; \
   4.137 -	      echo "\$$(filter-out all Makefile,\$$(MAKECMDGOALS)) %/:"; \
   4.138 -	      echo "	\$$(MAKE) -C \$$(KERNELSRC) O=\$$(KERNELOUTPUT) \$$@"; \
   4.139 -	    ) > $(LINUX_DIR)/Makefile ; \
   4.140 -	fi
   4.141 -	$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) prepare
   4.142 -
   4.143 -.PHONY: prep
   4.144 -prep: $(LINUX_DIR)/include/linux/autoconf.h
   4.145 -
   4.146 -.PHONY: config
   4.147 -config: CONFIGMODE = menuconfig
   4.148 -config: $(LINUX_DIR)/include/linux/autoconf.h
   4.149 -	$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) $(CONFIGMODE)
   4.150 -
   4.151 -.PHONY: clean
   4.152 -clean::
   4.153 -	[ ! -d $(LINUX_DIR) ] || \
   4.154 -		$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) clean
   4.155 -
   4.156 -.PHONY: delete
   4.157 -delete: 
   4.158 -	rm -rf tmp-linux-$(LINUX_VER) $(LINUX_DIR) $(LINUX_SRCDIR)
   4.159 -
   4.160 -.PHONY: mrproper
   4.161 -mrproper:
   4.162 -	rm -rf $(LINUX_SRCDIR)
   4.163 -	rm -f linux-$(LINUX_VER).tar.bz2
   4.164 -
   4.165 -.PHONY: $(LINUX_SRCDIR)/.force-update
   4.166 -$(LINUX_SRCDIR)/.force-update:
   4.167 -	@ :
   4.168 +include buildconfigs/mk.linux-2.6-common