summaryrefslogtreecommitdiff
path: root/scripts/build-all.py
diff options
context:
space:
mode:
authorBryan Huntsman <bryanh@codeaurora.org>2018-06-04 14:18:41 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2020-06-23 00:22:24 -0700
commita6445c419c02cd6b7f56a175679347637cc5f692 (patch)
tree23e96fb056d7369026ee8d345f245d4d392ec9f2 /scripts/build-all.py
parentf6a879263da42d2c4d823b5add42e970426807ad (diff)
scripts/build-all: look for nested vendor/ defconfig directories
Look for additional defconfigs in 'arch/arm[64]/configs/vendor/'. Change-Id: I13a1675d8563611eee17a02445e0329ff5f7a215 Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
Diffstat (limited to 'scripts/build-all.py')
-rwxr-xr-xscripts/build-all.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/build-all.py b/scripts/build-all.py
index b6e68584cdf2..3a6566ac2db7 100755
--- a/scripts/build-all.py
+++ b/scripts/build-all.py
@@ -231,7 +231,7 @@ class Builder():
self.name = name
self.defconfig = defconfig
- self.confname = self.defconfig.split('/')[-1]
+ self.confname = re.sub('arch/arm[64]*/configs/', '', self.defconfig)
# Determine if this is a 64-bit target based on the location
# of the defconfig.
@@ -315,6 +315,13 @@ def scan_configs():
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"
+ if 'arch/arm64' in defconfig:
+ name = name + "-64"
+ names.append(Builder(name, defconfig))
+
return names
def build_many(targets):