blob: 3c09548a8cb8329469758f37fb4acecc7b78ddb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# -*- makefile -*-
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# SCP specific files build
#
CORE:=riscv-rv32i
# Required chip modules
chip-y+=rv32i_common/cache.o
chip-y+=rv32i_common/clock.o
chip-y+=rv32i_common/gpio.o
chip-y+=rv32i_common/intc.o
chip-y+=rv32i_common/memmap.o
chip-y+=rv32i_common/system.o
chip-y+=rv32i_common/uart.o
ifeq ($(CONFIG_IPI),y)
$(out)/RW/chip/$(CHIP)/rv32i_common/ipi_table.o: $(out)/ipi_table_gen.inc
endif
# Optional chip modules
chip-$(CONFIG_COMMON_TIMER)+=rv32i_common/hrtimer.o
chip-$(CONFIG_IPI)+=rv32i_common/ipi.o rv32i_common/ipi_table.o
chip-$(CONFIG_WATCHDOG)+=rv32i_common/watchdog.o
chip-$(HAS_TASK_HOSTCMD)+=rv32i_common/hostcmd.o
|