Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dce80c2a authored by Swetha Chikkaboraiah's avatar Swetha Chikkaboraiah Committed by Gerrit - the friendly Code Review server
Browse files

Makefile: Use Python2 for compilation



Use Python2 for kernel compilations as Python3
compilation is not yet supported on 4.19.

Change-Id: I31efb8ab8bab5ff2473b28a6c7b061845e0c3877
Signed-off-by: default avatarSwetha Chikkaboraiah <quic_schikk@quicinc.com>
parent 7a513681
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -409,7 +409,7 @@ CHECK = sparse

# Use the wrapper for the compiler.  This wrapper scans for new
# warnings and causes the build to stop upon encountering them
CC		= $(PYTHON) $(srctree)/scripts/gcc-wrapper.py $(REAL_CC)
CC		= $(PYTHON2) $(srctree)/scripts/gcc-wrapper.py $(REAL_CC)

CHECKFLAGS     := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
		  -Wbitwise -Wno-return-void -Wno-unknown-attribute $(CF)