From ca676a99b20ae974cf25ac72683ba72fd5e8fb8f Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 22 Aug 2016 10:36:28 +0100 Subject: 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. --- resources/scripts/helpers/build/module/flashrom | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'resources/scripts') 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 -- cgit v1.2.3-70-g09d2