Skip to content

Commit 1f7fcda

Browse files
author
Daz Jones
committed
Import G510 release. Tag is M8625SSNSKMLYA20301A.
1 parent 96e323b commit 1f7fcda

File tree

478 files changed

+152362
-5580
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

478 files changed

+152362
-5580
lines changed

Makefile

+10
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,16 @@ else
568568
KBUILD_CFLAGS += -O2
569569
endif
570570

571+
# Add Huawei Marco for different BT chip
572+
ifeq ($(ENABLE_BTLA_VER30),true)
573+
KBUILD_CFLAGS += -DHUAWEI_BT_BTLA_VER30
574+
endif
575+
ifeq ($(ENABLE_BLUEZ_VER30),true)
576+
KBUILD_CFLAGS += -DHUAWEI_BT_BLUEZ_VER30
577+
endif
578+
579+
580+
KBUILD_CFLAGS += -DHUAWEI_KERNEL_VERSION=\"${HUAWEI_KERNEL_VERSION}\"
571581
include $(srctree)/arch/$(SRCARCH)/Makefile
572582

573583
ifneq ($(CONFIG_FRAME_WARN),0)

arch/arm/Kconfig.debug

+28
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,34 @@ menu "Kernel hacking"
22

33
source "lib/Kconfig.debug"
44

5+
config SUPPORT_SYSTEMTAP
6+
bool "Enable Systemtap support"
7+
select FRAME_POINTER if !THUMB2_KERNEL
8+
select TRACEPOINTS
9+
select KPROBES
10+
select RELAY
11+
select PROFILING
12+
select DEBUG_FS
13+
select DEBUG_INFO
14+
help
15+
This option enables systemtap support.
16+
Select FRAME_POINTER if !THUMB2_KERNEL, TRACEPOINTS, KPROBES, RELAY, PROFILING, DEBUG_FS, DEBUG_INFO
17+
18+
config SRECORDER_MSM
19+
bool "Enable Reserve 1M memory in MSM platform"
20+
default y
21+
help
22+
Reserve 1M memory for Srecorder in MSM platform
23+
config SRECORDER_POWERCOLLAPS
24+
bool "Enable Function of catch log when system power down"
25+
default y
26+
help
27+
Enable Function of catch log when system power down
28+
config DEVICE_CHECK
29+
bool "Enable Device Check for FreezeScreem"
30+
default y
31+
help
32+
Device Check for FreezeScreem
533
config STRICT_DEVMEM
634
bool "Filter access to /dev/mem"
735
depends on MMU

0 commit comments

Comments
 (0)