aboutsummaryrefslogtreecommitdiff
path: root/machine/machine.mk.in
blob: 35431061fba63b73bbf49336f399016eb7829b0b (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# See LICENSE for license details.

machine_subproject_deps = \
  softfloat \

machine_hdrs = \
  atomic.h \
  bits.h \
  fdt.h \
  emulation.h \
  encoding.h \
  fp_emulation.h \
  htif.h \
  mcall.h \
  mtrap.h \
  uart.h \
  uart16550.h \
  uart_litex.h \
  finisher.h \
  unprivileged_memory.h \
  vm.h \

machine_c_srcs = \
  fdt.c \
  mtrap.c \
  minit.c \
  htif.c \
  emulation.c \
  muldiv_emulation.c \
  fp_emulation.c \
  fp_ldst.c \
  uart.c \
  uart16550.c \
  uart_litex.c \
  finisher.c \
  misaligned_ldst.c \
  flush_icache.c \

machine_asm_srcs = \
  mentry.S \
  fp_asm.S \

ifneq (@CUSTOM_DTS@,no)
mentry.o: custom.dtb

custom.dtb: $(CUSTOM_DTS)
	dtc -O dtb $^ -o $@
endif