Browse Source

Build and install lib and header dependencies for Hammer

https://github.com/rivosinc/hammer

Signed-off-by: Jerin Joy <joy@rivosinc.com>
pull/1093/head
Jerin Joy 4 years ago
parent
commit
204a639780
  1. 32
      riscv/riscv.mk.in
  2. 9
      softfloat/softfloat.mk.in
  3. 2
      spike_main/spike_main.mk.in

32
riscv/riscv.mk.in

@ -3,8 +3,14 @@ get_opcode = $(shell grep ^DECLARE_INSN.*\\\<$(2)\\\> $(1) | sed 's/DECLARE_INSN
riscv_subproject_deps = \
fdt \
disasm \
fesvr \
softfloat \
riscv_CFLAGS = -fPIC
riscv_install_shared_lib = yes
riscv_install_prog_srcs = \
riscv_hdrs = \
@ -37,7 +43,31 @@ riscv_hdrs = \
csrs.h \
triggers.h \
riscv_install_hdrs = mmio_plugin.h
riscv_install_hdrs = \
abstract_device.h \
cachesim.h \
cfg.h \
common.h \
csrs.h \
debug_module.h \
debug_rom_defines.h \
decode.h \
devices.h \
encoding.h \
entropy_source.h \
isa_parser.h \
log_file.h \
memtracer.h \
mmio_plugin.h \
mmu.h \
p_ext_macros.h \
platform.h \
processor.h \
sim.h \
simif.h \
trap.h \
triggers.h \
v_ext_macros.h \
riscv_precompiled_hdrs = \
insn_template.h \

9
softfloat/softfloat.mk.in

@ -238,4 +238,11 @@ softfloat_install_shared_lib = yes
softfloat_test_srcs =
softfloat_install_prog_srcs =
softfloat_install_hdrs = \
softfloat.h \
softfloat_types.h \
primitives.h \
internals.h \
platform.h \
primitiveTypes.h \
specialize.h \

2
spike_main/spike_main.mk.in

@ -14,3 +14,5 @@ spike_main_install_prog_srcs = \
spike_main_hdrs = \
spike_main_srcs = \
spike_main_CFLAGS = -fPIC

Loading…
Cancel
Save