From f52a07bd52333fd74bd0952649c0e522a6d4eecf Mon Sep 17 00:00:00 2001 From: Rohit Vaswani Date: Fri, 4 Mar 2016 16:21:18 -0800 Subject: scripts: build-all: Fix the check_kernel for MSM Update the check in the check_kernel function for newer kernel. Signed-off-by: Rohit Vaswani --- scripts/build-all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build-all.py') diff --git a/scripts/build-all.py b/scripts/build-all.py index 4f5db40095ab..9e4942d21da9 100755 --- a/scripts/build-all.py +++ b/scripts/build-all.py @@ -60,7 +60,7 @@ if not os.environ.get('CROSS_COMPILE'): def check_kernel(): """Ensure that PWD is a kernel directory""" if (not os.path.isfile('MAINTAINERS') or - not os.path.isfile('arch/arm/mach-msm/Kconfig')): + not os.path.isfile('arch/arm64/configs/msm_defconfig')): fail("This doesn't seem to be an MSM kernel dir") def check_build(): -- cgit v1.2.3