mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
e6d82ef16c
PD#SWPL-94447 Problem: debug break gki10 Solution: 1, support amlogic_debug build to module, amlogic_debug module includes debug_lockup, cpu_mhz and meson_atrace for now. 2, amlogic_debug some function still build in kernel but not break gki10, for example: irq_check function on builtin kernel code, module_debug, workqueue debug etc. 3, new config CONFIG_AMLOGIC_HARDLOCKUP_DETECTOR still builtin but not break gki. 4, other functions for example iotrace still under developing Verify: sc2 Signed-off-by: Hanje Lin <hanjie.lin@amlogic.com> Change-Id: I9c11465e3e879f999ae6fd13dc12c044efd2417a
11 lines
376 B
Makefile
11 lines
376 B
Makefile
# SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
MODULE_NAME = amlogic-uart
|
|
PR_FMT = $(subst amlogic-,,$(MODULE_NAME))
|
|
PR_FMT_DEFINE="-Dpr_fmt(fmt)= \"[$(PR_FMT)]: \" fmt"
|
|
ccflags-y += $(PR_FMT_DEFINE) -D SKIP_LOCKUP_CHECK
|
|
obj-$(CONFIG_AMLOGIC_SERIAL_MESON) = $(MODULE_NAME).o
|
|
$(MODULE_NAME)-y += meson_uart.o
|
|
|
|
obj-$(CONFIG_AMLOGIC_SERIAL_EARLY_CONSOLE) += meson_early_console.o
|