summaryrefslogtreecommitdiffstats
path: root/src/spdk/isa-l/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/isa-l/autogen.sh')
-rwxr-xr-xsrc/spdk/isa-l/autogen.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/spdk/isa-l/autogen.sh b/src/spdk/isa-l/autogen.sh
new file mode 100755
index 000000000..0a3189383
--- /dev/null
+++ b/src/spdk/isa-l/autogen.sh
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+autoreconf --install --symlink -f
+
+libdir() {
+ echo $(cd $1/$(gcc -print-multi-os-directory); pwd)
+}
+
+args="--prefix=/usr --libdir=$(libdir /usr/lib)"
+
+echo
+echo "----------------------------------------------------------------"
+echo "Initialized build system. For a common configuration please run:"
+echo "----------------------------------------------------------------"
+echo
+echo "./configure $args"
+echo