Files
kernel_common_drivers/drivers/tty/serial/Makefile
T
Hanjie Lin e6d82ef16c debug: fix gki10 break issue [2/3]
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
2022-10-14 16:53:03 -07:00

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