diff options
author | Leah Rowe <info@minifree.org> | 2016-08-22 10:36:28 +0100 |
---|---|---|
committer | Leah Rowe <info@minifree.org> | 2016-08-22 10:36:28 +0100 |
commit | ca676a99b20ae974cf25ac72683ba72fd5e8fb8f (patch) | |
tree | e0b8854bf9d6c915a0b0127dbba1fac0c16d1862 | |
parent | c679b19f0b0d95f587b3836c7bf867a932d3df28 (diff) | |
download | librebootfr-ca676a99b20ae974cf25ac72683ba72fd5e8fb8f.tar.gz librebootfr-ca676a99b20ae974cf25ac72683ba72fd5e8fb8f.zip |
build/module/flashrom: use CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no
This fixes a build issue in Trisquel 7, when building static binaries of
the flashrom utility.
-rwxr-xr-x | resources/scripts/helpers/build/module/flashrom | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/scripts/helpers/build/module/flashrom b/resources/scripts/helpers/build/module/flashrom index dd2cc939..7ed79fcd 100755 --- a/resources/scripts/helpers/build/module/flashrom +++ b/resources/scripts/helpers/build/module/flashrom @@ -48,9 +48,9 @@ if (( $# != 1 )); then make -j${cores} else if [ "${1}" = "static" ]; then - make SHARED=0 CC='gcc -static' -j${cores} + make SHARED=0 CC='gcc -static' -j${cores} CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no else - make -j${cores} + make -j${cores} CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no fi fi @@ -71,12 +71,12 @@ do make clean if (( $# != 1 )); then - make -j${cores} + make -j${cores} CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no else if [ "${1}" = "static" ]; then - make SHARED=0 CC='gcc -static' -j${cores} + make SHARED=0 CC='gcc -static' -j${cores} CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no else - make -j${cores} + make -j${cores} CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no fi fi |