diff options
Diffstat (limited to 'chip/mt_scp/rv32i_common/build.mk')
-rw-r--r-- | chip/mt_scp/rv32i_common/build.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/chip/mt_scp/rv32i_common/build.mk b/chip/mt_scp/rv32i_common/build.mk new file mode 100644 index 0000000000..3c09548a8c --- /dev/null +++ b/chip/mt_scp/rv32i_common/build.mk @@ -0,0 +1,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 |