summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-09-06 13:19:16 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-09-06 13:19:16 (EDT)
commit08a78d758ad382382466d05dcc16730d347f5bd8 (patch)
tree667ee9124d21f3bca8891d4075bd005d33130677
parent412c283480bffac744a3d929fe723644c812732e (diff)
build: Pass CONFIG_* macros in install step
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index d8c2541..44365db 100755
--- a/build
+++ b/build
@@ -20,7 +20,7 @@ install: build
set -e; \
for c in $(configs); do \
oh-autoinstall -s "src-$${c}" -d "flashrom-$${c}.data" -- \
- PREFIX=/usr; \
+ PREFIX=/usr $$(cat "../config/$${c}"); \
mv "flashrom-$${c}.data/usr/sbin/flashrom" \
"flashrom-$${c}.data/usr/sbin/flashrom.$${c}"; \
mv "flashrom-$${c}.data/usr/share/man/man8/flashrom.8" \