summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-04-05 13:01:03 +1100
committerGitHub <noreply@github.com>2019-04-05 13:01:03 +1100
commitdc7af34d2c160fa2144d09d5a7772d367cdce638 (patch)
tree4b9e7bfe9e95b66cd541c27af74c3cd128699881
parent7b346edd37dee537b1820feab96f01cf984402ad (diff)
parent5ceaf0f0d5e599ff42053242a671f7b0dce69677 (diff)
downloadtalos-op-build-dc7af34d2c160fa2144d09d5a7772d367cdce638.tar.gz
talos-op-build-dc7af34d2c160fa2144d09d5a7772d367cdce638.zip
Merge pull request #2755 from mpe/mpe
Add op-build script
-rw-r--r--README.md3
-rwxr-xr-xop-build8
2 files changed, 9 insertions, 2 deletions
diff --git a/README.md b/README.md
index f17c503c..536a7353 100644
--- a/README.md
+++ b/README.md
@@ -29,8 +29,7 @@ To build an image for a Palmetto system:
```
git clone --recursive git@github.com:open-power/op-build.git
cd op-build
-. op-build-env
-op-build palmetto_defconfig && op-build
+./op-build palmetto_defconfig && ./op-build
```
There are also default configurations for other platforms in
diff --git a/op-build b/op-build
new file mode 100755
index 00000000..38246711
--- /dev/null
+++ b/op-build
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+script_base="$(realpath $(dirname $0))"
+cd $script_base
+
+. op-build-env
+
+op-build $@
OpenPOWER on IntegriCloud