From 472b565b16496a83eca6320a4bd022cc8471b038 Mon Sep 17 00:00:00 2001 From: Bryan Huntsman Date: Mon, 4 Jun 2018 15:16:23 -0700 Subject: [PATCH] scripts/build-all: remove pattern-based defconfig detection All the defconfigs we care about should be in arch/arm[64]/configs/vendor/ so remove the pattern-based detection logic. Change-Id: I1359db11caffb618d8fb44e02ea2c08efb4041fa Signed-off-by: Bryan Huntsman --- scripts/build-all.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/scripts/build-all.py b/scripts/build-all.py index 7f2a2764dc73..ec2f5e64e2e1 100755 --- a/scripts/build-all.py +++ b/scripts/build-all.py @@ -287,29 +287,6 @@ class Builder(): def scan_configs(): """Get the full list of defconfigs appropriate for this tree.""" names = [] - arch_pats = ( - r'[fm]sm[0-9]*_defconfig', - r'apq*_defconfig', - r'qsd*_defconfig', - r'mpq*_defconfig', - r'sdm*_defconfig', - r'sdx*_defconfig', - ) - arch64_pats = ( - r'msm*_defconfig', - r'sm*_defconfig', - r'sdm*_defconfig', - r'sdx*_defconfig', - ) - for p in arch_pats: - for n in glob.glob('arch/arm/configs/' + p): - name = os.path.basename(n)[:-10] + "-llvm" - names.append(Builder(name, n)) - if 'CROSS_COMPILE64' in os.environ: - for p in arch64_pats: - for n in glob.glob('arch/arm64/configs/' + p): - name = os.path.basename(n)[:-10] + "-llvm" + "-64" - names.append(Builder(name, n)) for defconfig in glob.glob('arch/arm*/configs/vendor/*_defconfig'): target = os.path.basename(defconfig)[:-10] name = target + "-llvm"