summaryrefslogtreecommitdiff
path: root/chip/mt8192_scp/build.mk
blob: 277b2d8f6d25cfccf7ea2f942b631295beb4a443 (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
# -*- 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+=clock.o
chip-y+=gpio.o
chip-y+=intc.o
chip-y+=system.o
chip-y+=uart.o

ifeq ($(CONFIG_IPI),y)
$(out)/RW/chip/$(CHIP)/ipi_table.o: $(out)/ipi_table_gen.inc
endif

# Optional chip modules
chip-$(CONFIG_COMMON_TIMER)+=hrtimer.o
chip-$(CONFIG_IPI)+=ipi.o ipi_table.o
chip-$(CONFIG_WATCHDOG)+=watchdog.o