aboutsummaryrefslogtreecommitdiff
path: root/riscv-softfloat.pc.in
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu>2015-05-13 14:54:24 -0700
committerPalmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu>2015-05-13 15:18:27 -0700
commit126beb482ff62c31cfde36cc1a3d06f15d13a873 (patch)
tree08273e8a9c25f81a4223b86669ffd4c768775f69 /riscv-softfloat.pc.in
parent40580c0409449f1a02664649e97bd397ed9eb171 (diff)
downloadspike-126beb482ff62c31cfde36cc1a3d06f15d13a873.zip
spike-126beb482ff62c31cfde36cc1a3d06f15d13a873.tar.gz
spike-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-softfloat.pc.in')
-rw-r--r--riscv-softfloat.pc.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/riscv-softfloat.pc.in b/riscv-softfloat.pc.in
new file mode 100644
index 0000000..6b18e88
--- /dev/null
+++ b/riscv-softfloat.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@prefix@
+libdir=${prefix}/@libdir@
+includedir=${prefix}/@includedir@
+
+Name: riscv-softfloat
+Description: RISC-V softfloat library
+Version: git
+Libs: -Wl,-rpath,${libdir} -L${libdir} -lsoftfloat
+Cflags: -I${includedir}
+URL: http://riscv.org/download.html#tab_spike