mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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 <bryanh@codeaurora.org>
This commit is contained in:
parent
8eab8926a9
commit
472b565b16
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user