Skip to content

Commit 472b565

Browse files
author
Bryan Huntsman
committed
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 <[email protected]>
1 parent 8eab892 commit 472b565

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

Diff for: scripts/build-all.py

-23
Original file line numberDiff line numberDiff line change
@@ -287,29 +287,6 @@ def build(self):
287287
def scan_configs():
288288
"""Get the full list of defconfigs appropriate for this tree."""
289289
names = []
290-
arch_pats = (
291-
r'[fm]sm[0-9]*_defconfig',
292-
r'apq*_defconfig',
293-
r'qsd*_defconfig',
294-
r'mpq*_defconfig',
295-
r'sdm*_defconfig',
296-
r'sdx*_defconfig',
297-
)
298-
arch64_pats = (
299-
r'msm*_defconfig',
300-
r'sm*_defconfig',
301-
r'sdm*_defconfig',
302-
r'sdx*_defconfig',
303-
)
304-
for p in arch_pats:
305-
for n in glob.glob('arch/arm/configs/' + p):
306-
name = os.path.basename(n)[:-10] + "-llvm"
307-
names.append(Builder(name, n))
308-
if 'CROSS_COMPILE64' in os.environ:
309-
for p in arch64_pats:
310-
for n in glob.glob('arch/arm64/configs/' + p):
311-
name = os.path.basename(n)[:-10] + "-llvm" + "-64"
312-
names.append(Builder(name, n))
313290
for defconfig in glob.glob('arch/arm*/configs/vendor/*_defconfig'):
314291
target = os.path.basename(defconfig)[:-10]
315292
name = target + "-llvm"

0 commit comments

Comments
 (0)