summaryrefslogtreecommitdiff
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
parentf569f8af7adbcd444401902f5b6a87d710c286cc (diff)
builddeps-flashrom: add comments
-rwxr-xr-xbuilddeps-flashrom2
1 files changed, 2 insertions, 0 deletions
diff --git a/builddeps-flashrom b/builddeps-flashrom
index 250c393..ea93780 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"