aboutsummaryrefslogtreecommitdiff
path: root/builddeps-bucts
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-13 16:41:12 +0000
committerFrancis Rowe <info@gluglug.org.uk>2014-12-13 16:41:12 +0000
commit37176cdddf98c8884a39179560d5caa07ceddd0f (patch)
tree3f12efef9b27f8920a1df582416e095d6b751750 /builddeps-bucts
parent1bec251023a6e43e6cbe4cba153b3e706df25d38 (diff)
downloadlibrebootfr-37176cdddf98c8884a39179560d5caa07ceddd0f.tar.gz
librebootfr-37176cdddf98c8884a39179560d5caa07ceddd0f.zip
docs/git/index.html#build: fix build-release instructions
Tell the user how to properly build flashrom/bucts with static linking. Update build-release.
Diffstat (limited to 'builddeps-bucts')
-rwxr-xr-xbuilddeps-bucts9
1 files changed, 8 insertions, 1 deletions
diff --git a/builddeps-bucts b/builddeps-bucts
index ead751ba..7125e837 100755
--- a/builddeps-bucts
+++ b/builddeps-bucts
@@ -32,7 +32,14 @@ cd bucts
make clean
# build bucts
-make
+if (( $# != 1 )); then
+ # build it dynamically linked
+ make
+else
+ git apply ../resources/bucts/patch/staticlink.diff
+ # build it statically linked
+ make
+fi
# done. go back to main directory
cd ../