summaryrefslogtreecommitdiff
path: root/source-locations.sh
diff options
context:
space:
mode:
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)_*/' \