rename config.common to config, ignore include_common_config (always use

the common config.  overriding options is implicit, use it if you don't want
to use the common configs), and fixed a subarch bug ($(arch)/config.$(subarch)
vs $(arch)/$(subarch)/config)

svn path=/trunk/kernel/source/linux-2.6-2.6.12/; revision=3518
This commit is contained in:
Andres Salomon 2005-07-16 01:56:00 +00:00
parent 7a903eca9c
commit ba9fdc7115
1 changed files with 9 additions and 8 deletions

17
debian/Makefile vendored
View File

@ -35,7 +35,7 @@ else
endif
configs := $(notdir $(wildcard $(basedir)/config.*))
configs := $(filter-out config.common config.default, $(configs))
configs := $(filter-out config config.default, $(configs))
tkdir := linux-source-$(version)
kdir := linux-source-$(version)-$(subarch)
ifndef flavours
@ -83,10 +83,11 @@ kpkg_headers_cmd += kernel-headers
ifndef headers_dirs
headers_dirs = $(karch)
endif
ifneq (no,$(include_common_config))
ccommon := arch/config.common
endif
ccommon += arch/$(karch)/config.common arch/$(karch)/$(subarch)/config.common
# XXX: include_common_config disabled.
#ifneq (no,$(include_common_config))
ccommon := arch/config
#endif
ccommon += arch/config arch/$(karch)/config arch/$(karch)/$(subarch)/config
#
# Here we build lists of directories and stamps which we will depend on.
# For each class of such targets there is a pattern rule which will catch
@ -162,9 +163,9 @@ post-install-$(subarch): templates/post-install.in
templates/post-install.in > post-install-$(subarch)
#
# Generates the kernel config file for a subarch by merging
# the arch-independent config file (arch/config.common),
# arch-specific config file (arch/$(karch)/config.common),
# and subarch specific one (arch/$(karch)/config.subarch).
# the arch-independent config file (arch/config),
# arch-specific config file (arch/$(karch)/config),
# and subarch specific one (arch/$(karch)/$(subarch)/config).
# It is possible to avoid the inclusion of the arch-indep
# config file by setting include_common_config = no in the
# arch/$(karch)/Makefile.inc.