forked from Mirrors/opensbi

Separate the implement of T-HEAD c9xx pmu to allow any platform with c9xx cores can use it. Signed-off-by: Inochi Amaoto <inochiama@outlook.com> Reviewed-by: Anup Patel <anup@brainfault.org>
13 lines
432 B
Makefile
13 lines
432 B
Makefile
#
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
#
|
|
# Copyright (C) 2023 Inochi Amaoto <inochiama@outlook.com>
|
|
# Copyright (C) 2023 Alibaba Group Holding Limited.
|
|
#
|
|
|
|
platform-objs-$(CONFIG_THEAD_C9XX_PMU) += thead/thead_c9xx_pmu.o
|
|
|
|
carray-platform_override_modules-$(CONFIG_PLATFORM_THEAD) += thead_generic
|
|
platform-objs-$(CONFIG_PLATFORM_THEAD) += thead/thead-generic.o
|
|
platform-objs-$(CONFIG_PLATFORM_THEAD) += thead/thead-trap-handler.o
|