diff options
author | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2015-05-13 14:54:24 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2015-05-13 15:18:27 -0700 |
commit | 126beb482ff62c31cfde36cc1a3d06f15d13a873 (patch) | |
tree | 08273e8a9c25f81a4223b86669ffd4c768775f69 /riscv-riscv.pc.in | |
parent | 40580c0409449f1a02664649e97bd397ed9eb171 (diff) | |
download | riscv-isa-sim-126beb482ff62c31cfde36cc1a3d06f15d13a873.zip riscv-isa-sim-126beb482ff62c31cfde36cc1a3d06f15d13a873.tar.gz riscv-isa-sim-126beb482ff62c31cfde36cc1a3d06f15d13a873.tar.bz2 |
Install pkg-config files for Spike
The actual Spike package consists of a whole bunch of libraries. This
installs a pkg-config file for each generated library, and a meta
pkg-config file (riscv-spike.pc) that links in all the other Spike
libraries except dummy_rocc (which I figure isn't interesting).
This allows me to package and install spike, and then use that package
to build an extension library (so I don't have to fork Spike for my
own ISA extension).
Diffstat (limited to 'riscv-riscv.pc.in')
-rw-r--r-- | riscv-riscv.pc.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/riscv-riscv.pc.in b/riscv-riscv.pc.in new file mode 100644 index 0000000..5e86b1c --- /dev/null +++ b/riscv-riscv.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@prefix@ +libdir=${prefix}/@libdir@ +includedir=${prefix}/@includedir@ + +Name: riscv-riscv +Description: RISC-V +Version: git +Libs: -Wl,-rpath,${libdir} -L${libdir} -lriscv +Cflags: -I${includedir} +URL: http://riscv.org/download.html#tab_spike |