aboutsummaryrefslogtreecommitdiff
path: root/builddeps-flashrom
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-11-27 07:24:08 +0000
committerFrancis Rowe <info@gluglug.org.uk>2014-11-27 07:24:08 +0000
commitea985eb4db9782fd32adf072d57bbcbd05fd31d4 (patch)
treec5cc81bcab5dd3eec39f1e1c7410815f48aa1553 /builddeps-flashrom
parentf569f8af7adbcd444401902f5b6a87d710c286cc (diff)
downloadlibrebootfr-ea985eb4db9782fd32adf072d57bbcbd05fd31d4.tar.gz
librebootfr-ea985eb4db9782fd32adf072d57bbcbd05fd31d4.zip
builddeps-flashrom: add comments
Diffstat (limited to 'builddeps-flashrom')
-rwxr-xr-xbuilddeps-flashrom2
1 files changed, 2 insertions, 0 deletions
diff --git a/builddeps-flashrom b/builddeps-flashrom
index 250c3937..ea93780f 100755
--- a/builddeps-flashrom
+++ b/builddeps-flashrom
@@ -45,8 +45,10 @@ do
cp ../resources/flashrom/patch/flashchips.c"$patchname" flashchips.c
rm -f flashrom"$patchname"
if (( $# != 1 )); then
+ # build it dynamically linked
make
else
+ # build it statically linked
make SHARED=0 CC='gcc -static'
fi
mv flashrom flashrom"$patchname"