mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 11:53:01 +00:00
scripts: Use custom defconfig for 64-bit targets
Use a different set of defconfig patterns for 64-bit targets. Currently, msm_defconfig needs to not be built for 32-bit, and is the only defconfig for the 64-bit target. Change-Id: I2c3840fd668aa9a1dbd304c64484f6735f1aeea1 Signed-off-by: David Brown <davidb@codeaurora.org>
This commit is contained in:
parent
0329c70036
commit
a7fbd22279
|
@ -201,11 +201,15 @@ def scan_configs():
|
|||
r'mdm*_defconfig',
|
||||
r'mpq*_defconfig',
|
||||
)
|
||||
arch64_pats = (
|
||||
r'msm_defconfig',
|
||||
)
|
||||
for p in arch_pats:
|
||||
for n in glob.glob('arch/arm/configs/' + p):
|
||||
name = os.path.basename(n)[:-10]
|
||||
names.append(Builder(name, n))
|
||||
if 'CROSS_COMPILE64' in os.environ:
|
||||
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] + "-64"
|
||||
names.append(Builder(name, n))
|
||||
|
|
Loading…
Reference in a new issue