diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -1,8 +1,8 @@ | |||
1 | VERSION = 2 | 1 | VERSION = 2 |
2 | PATCHLEVEL = 6 | 2 | PATCHLEVEL = 6 |
3 | SUBLEVEL = 30 | 3 | SUBLEVEL = 30 |
4 | EXTRAVERSION = -rc1 | 4 | EXTRAVERSION = -rc4 |
5 | NAME = Temporary Tasmanian Devil | 5 | NAME = Vindictive Armadillo |
6 | 6 | ||
7 | # *DOCUMENTATION* | 7 | # *DOCUMENTATION* |
8 | # To see a list of typical targets execute "make help" | 8 | # To see a list of typical targets execute "make help" |
@@ -169,7 +169,7 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \ | |||
169 | -e s/arm.*/arm/ -e s/sa110/arm/ \ | 169 | -e s/arm.*/arm/ -e s/sa110/arm/ \ |
170 | -e s/s390x/s390/ -e s/parisc64/parisc/ \ | 170 | -e s/s390x/s390/ -e s/parisc64/parisc/ \ |
171 | -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \ | 171 | -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \ |
172 | -e s/sh.*/sh/ ) | 172 | -e s/sh[234].*/sh/ ) |
173 | 173 | ||
174 | # Cross compiling and selecting different set of gcc/bin-utils | 174 | # Cross compiling and selecting different set of gcc/bin-utils |
175 | # --------------------------------------------------------------------------- | 175 | # --------------------------------------------------------------------------- |
@@ -210,6 +210,11 @@ ifeq ($(ARCH),sparc64) | |||
210 | SRCARCH := sparc | 210 | SRCARCH := sparc |
211 | endif | 211 | endif |
212 | 212 | ||
213 | # Additional ARCH settings for sh | ||
214 | ifeq ($(ARCH),sh64) | ||
215 | SRCARCH := sh | ||
216 | endif | ||
217 | |||
213 | # Where to locate arch specific headers | 218 | # Where to locate arch specific headers |
214 | hdr-arch := $(SRCARCH) | 219 | hdr-arch := $(SRCARCH) |
215 | 220 | ||
@@ -1195,7 +1200,7 @@ CLEAN_FILES += vmlinux System.map \ | |||
1195 | .tmp_kallsyms* .tmp_version .tmp_vmlinux* .tmp_System.map | 1200 | .tmp_kallsyms* .tmp_version .tmp_vmlinux* .tmp_System.map |
1196 | 1201 | ||
1197 | # Directories & files removed with 'make mrproper' | 1202 | # Directories & files removed with 'make mrproper' |
1198 | MRPROPER_DIRS += include/config include2 usr/include | 1203 | MRPROPER_DIRS += include/config include2 usr/include include/generated |
1199 | MRPROPER_FILES += .config .config.old include/asm .version .old_version \ | 1204 | MRPROPER_FILES += .config .config.old include/asm .version .old_version \ |
1200 | include/linux/autoconf.h include/linux/version.h \ | 1205 | include/linux/autoconf.h include/linux/version.h \ |
1201 | include/linux/utsrelease.h \ | 1206 | include/linux/utsrelease.h \ |
@@ -1288,7 +1293,7 @@ help: | |||
1288 | @echo ' dir/ - Build all files in dir and below' | 1293 | @echo ' dir/ - Build all files in dir and below' |
1289 | @echo ' dir/file.[ois] - Build specified target only' | 1294 | @echo ' dir/file.[ois] - Build specified target only' |
1290 | @echo ' dir/file.ko - Build module including final link' | 1295 | @echo ' dir/file.ko - Build module including final link' |
1291 | @echo ' prepare - Set up for building external modules' | 1296 | @echo ' modules_prepare - Set up for building external modules' |
1292 | @echo ' tags/TAGS - Generate tags file for editors' | 1297 | @echo ' tags/TAGS - Generate tags file for editors' |
1293 | @echo ' cscope - Generate cscope index' | 1298 | @echo ' cscope - Generate cscope index' |
1294 | @echo ' kernelrelease - Output the release version string' | 1299 | @echo ' kernelrelease - Output the release version string' |
@@ -1416,7 +1421,9 @@ $(clean-dirs): | |||
1416 | $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@) | 1421 | $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@) |
1417 | 1422 | ||
1418 | clean: rm-dirs := $(MODVERDIR) | 1423 | clean: rm-dirs := $(MODVERDIR) |
1419 | clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers | 1424 | clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers \ |
1425 | $(KBUILD_EXTMOD)/Module.markers \ | ||
1426 | $(KBUILD_EXTMOD)/modules.order | ||
1420 | clean: $(clean-dirs) | 1427 | clean: $(clean-dirs) |
1421 | $(call cmd,rmdirs) | 1428 | $(call cmd,rmdirs) |
1422 | $(call cmd,rmfiles) | 1429 | $(call cmd,rmfiles) |