Skip to content

Commit c2330e2

Browse files
committed
Merge branch 'arm/defconfig/reduced-v2.6.35-rc1' of git://git.pengutronix.de/git/ukl/linux-2.6
* 'arm/defconfig/reduced-v2.6.35-rc1' of git://git.pengutronix.de/git/ukl/linux-2.6: ARM: reduce defconfigs This is a big change, but results in no loss of information, despite us losing almost 200k lines: 177 files changed, 652 insertions(+), 194157 deletions(-) and Grant Likely thinks powerpc can also use the same reduction technique. The python script that did the reduction looks like this: #! /usr/bin/env python # vim: set fileencoding=utf-8 : # Copyright (C) 2010 by Uwe Kleine-König <u.kleine-koenig@pengutronix.de> import re import subprocess import os import sys # This prevents including a timestamp in the .config which makes comparing a # bit easier. os.environ['KCONFIG_NOTIMESTAMP'] = 'Yes, please' # XXX: get these using getopt kernel_tree = '' # os.path.join(os.environ['HOME'], 'gsrc', 'linux-2.6') arch = 'arm' target = sys.argv[1] defconfig_src = os.path.join(kernel_tree, 'arch/%s/configs/%s' % (arch, target)) subprocess.check_call(['make', '-s', 'ARCH=%s' % arch, target]) origconfig = list(open('.config')) config = list(origconfig) config_size = os.stat('.config').st_size i = 0 while i < len(config): print 'test for %r' % config[i] defconfig = open(defconfig_src, 'w') defconfig.writelines(config[:i]) defconfig.writelines(config[i + 1:]) defconfig.close() subprocess.check_call(['make', '-s', 'ARCH=%s' % arch, target]) if os.stat('.config').st_size == config_size and list(open('.config')) == origconfig: del config[i] else: i += 1 defconfig = open(defconfig_src, 'w') defconfig.writelines(config) defconfig.close() which is pretty self-explanatory. Acked-by: Nicolas Pitre <nico@fluxnic.net> Acked-by: Russell King <linux@arm.linux.org.uk> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2 parents 7e48c02 + 07a8c03 commit c2330e2

File tree

177 files changed

+652
-194157
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+652
-194157
lines changed

arch/arm/configs/acs5k_defconfig

Lines changed: 0 additions & 1146 deletions
Large diffs are not rendered by default.

arch/arm/configs/acs5k_tiny_defconfig

Lines changed: 0 additions & 860 deletions
Large diffs are not rendered by default.

arch/arm/configs/afeb9260_defconfig

Lines changed: 3 additions & 1154 deletions
Large diffs are not rendered by default.

arch/arm/configs/am200epdkit_defconfig

Lines changed: 2 additions & 1042 deletions
Large diffs are not rendered by default.

arch/arm/configs/am3517_evm_defconfig

Lines changed: 0 additions & 1250 deletions
Large diffs are not rendered by default.

arch/arm/configs/ams_delta_defconfig

Lines changed: 10 additions & 1214 deletions
Large diffs are not rendered by default.

arch/arm/configs/ap4evb_defconfig

Lines changed: 0 additions & 722 deletions
Large diffs are not rendered by default.

arch/arm/configs/assabet_defconfig

Lines changed: 9 additions & 853 deletions
Large diffs are not rendered by default.

arch/arm/configs/at572d940hfek_defconfig

Lines changed: 18 additions & 1300 deletions
Large diffs are not rendered by default.

arch/arm/configs/at91cap9adk_defconfig

Lines changed: 2 additions & 1105 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)