mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
e2ab106c2c
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>
11 lines
298 B
Makefile
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
|