Files
kernel_common_drivers/drivers/gki_tool/Makefile
T
song.han e2ab106c2c iotrace: record module base on last start [1/1]
PD#SWPL-136207

Problem:
use kprobe to forbid free module init text

Solution:
record module base and use offset to parse
this module symbol

Verify:
SC2_AH212

Change-Id: I43bd306e94e9a6a5afe6411a9cd9e93db0342b7a
Signed-off-by: song.han <song.han@amlogic.com>
2023-09-19 20:09:48 +08:00

11 lines
298 B
Makefile

# SPDX-License-Identifier: (GPL-2.0+ OR MIT)
MODULE_NAME = amlogic-gkitool
PR_FMT = $(subst amlogic-,,$(MODULE_NAME))
PR_FMT_DEFINE="-Dpr_fmt(fmt)= \"[$(PR_FMT)]: \" fmt"
ccflags-y += $(PR_FMT_DEFINE)
obj-$(CONFIG_AMLOGIC_GKI_TOOL) = $(MODULE_NAME).o
$(MODULE_NAME)-y += gki_tool.o gki_module.o