summaryrefslogtreecommitdiff
path: root/source-locations.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-12-28 20:40:58 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-12-28 20:40:58 -0500
commit0264bd2989c282c8ffaa13e1c491aa529789565e (patch)
tree9715d26555dbd00d3834a69af9fe8eb5b381ea55 /source-locations.sh
parent8d268655f465a19136cba290527b98e43e196769 (diff)
build flashrom by default, fix flashrom
Diffstat (limited to 'source-locations.sh')
-rw-r--r--source-locations.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source-locations.sh b/source-locations.sh
index 472a7f3..e4bbb20 100644
--- a/source-locations.sh
+++ b/source-locations.sh
@@ -37,7 +37,7 @@ flashrom_mksource() {
cp "$resources"/flashrom/patch/flashchips_*.c .
sed -i \
-e 's/^CFLAGS\s*?=.*/& -static/' \
- -e 's/^PROGRAM\s*=/PROGRAM = flashrom$(patchname)/' \
+ -e 's/\$(PROGRAM)\$(EXEC_SUFFIX)/$(PROGRAM)$(patchname)$(EXEC_SUFFIX)/g' \
-e 's/flashchips\.o/flashchips$(patchname).o/g' \
-e 's/libflashrom\.a/libflashrom$(patchname).a/g' \
-e 's/\(rm .*libflashrom\)\S*\.a/\1*.a $(PROGRAM)_*/' \