Skip to content

Commit bd81d69

Browse files
Channagoud KadabiRunmin Wang
Channagoud Kadabi
authored and
Runmin Wang
committed
scripts: snapshot of kernel build utility scripts
This is a snapshot of build scripts taken as of msm-4.9 commit <ed98af78b1815a8> (" Merge "drm/msm/dsi-staging: toggle phy reset disable during idle pc") into msm-next. Update build-all.py to compile sdm855 target. Change-Id: If63adb69134f63db9df1160a3e7035a24b001d3d Signed-off-by: Channagoud Kadabi <[email protected]> Signed-off-by: Runmin Wang <[email protected]>
1 parent 7a4a9e5 commit bd81d69

6 files changed

+802
-1
lines changed

Diff for: Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ include scripts/Kbuild.include
348348
# Make variables (CC, etc...)
349349
AS = $(CROSS_COMPILE)as
350350
LD = $(CROSS_COMPILE)ld
351-
CC = $(CROSS_COMPILE)gcc
351+
REAL_CC = $(CROSS_COMPILE)gcc
352352
CPP = $(CC) -E
353353
AR = $(CROSS_COMPILE)ar
354354
NM = $(CROSS_COMPILE)nm
@@ -363,6 +363,10 @@ PERL = perl
363363
PYTHON = python
364364
CHECK = sparse
365365

366+
# Use the wrapper for the compiler. This wrapper scans for new
367+
# warnings and causes the build to stop upon encountering them
368+
CC = $(srctree)/scripts/gcc-wrapper.py $(REAL_CC)
369+
366370
CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
367371
-Wbitwise -Wno-return-void $(CF)
368372
NOSTDINC_FLAGS =

0 commit comments

Comments
 (0)