aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <aswaterman@gmail.com>2019-02-04 11:21:23 -0800
committerGitHub <noreply@github.com>2019-02-04 11:21:23 -0800
commita26a565cb89b9292e400363fe00e75f3eb4cf99c (patch)
treeb29978801c0f011378be44c3b45977334590deda
parente2e2e9db2e9ffec74542597ffe8fc856ec98155d (diff)
parent2433bbd4a6ae021ebe1aae1fd47a6ee121806cb9 (diff)
downloadriscv-pk-a26a565cb89b9292e400363fe00e75f3eb4cf99c.zip
riscv-pk-a26a565cb89b9292e400363fe00e75f3eb4cf99c.tar.gz
riscv-pk-a26a565cb89b9292e400363fe00e75f3eb4cf99c.tar.bz2
Merge pull request #143 from hakrdinesh/master
openbsd related adjustments
-rw-r--r--README.md9
-rwxr-xr-xscripts/vcs-version.sh2
2 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index f063ded..5ddf257 100644
--- a/README.md
+++ b/README.md
@@ -39,3 +39,12 @@ The `install` step installs 64-bit build products into a directory
matching your host (e.g. `$RISCV/riscv64-unknown-elf`). 32-bit versions
are installed into a directory matching a 32-bit version of your host (e.g.
`$RISCV/riscv32-unknown-elf`).
+
+OpenBSD Build Steps
+-------------------
+
+Install the riscv-gnu-toolchain, and follow generic build steps.
+
+ # pkg_add riscv-elf-binutils riscv-elf-gcc riscv-elf-newlib
+
+
diff --git a/scripts/vcs-version.sh b/scripts/vcs-version.sh
index a71fb07..841419e 100755
--- a/scripts/vcs-version.sh
+++ b/scripts/vcs-version.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# See LICENSE.Batten for license details.
#
#=========================================================================