diff options
-rwxr-xr-x | build-release | 7 | ||||
-rwxr-xr-x | builddeps-ich9deblob | 4 | ||||
-rwxr-xr-x | cleandeps | 4 |
3 files changed, 9 insertions, 6 deletions
diff --git a/build-release b/build-release index 7e529b94..67fc1d84 100755 --- a/build-release +++ b/build-release @@ -232,8 +232,8 @@ cd ../../ cd resources/utilities/ cp -r ich9deblob ich9deblob_ cd ich9deblob/ -rm -f ich9deblob -gcc -static -o ich9deblob ich9deblob.c ich9desc.c -I. +make clean +make SHARED=0 CC='gcc -static' mkdir ../../../libreboot_bin/ich9deblob if [ $(uname -i) = "i686" ] || [ $(uname -m) = "i686" ] then @@ -246,7 +246,8 @@ elif [ $(uname -i) = "x86_64" ] || $(uname -m) = "x86_64" mkdir ../../../libreboot_bin/ich9deblob/x86_64 mv ich9deblob ../../../libreboot_bin/ich9deblob/x86_64/ # Now build 32-bit binaries - gcc -static -m32 -o ich9deblob ich9deblob.c ich9desc.c -I. + make clean + make SHARED=0 CC='gcc -static -m32' mkdir ../../../libreboot_bin/ich9deblob/i686 mv ich9deblob ../../../libreboot_bin/ich9deblob/i686/ fi diff --git a/builddeps-ich9deblob b/builddeps-ich9deblob index 506462a3..dffb5576 100755 --- a/builddeps-ich9deblob +++ b/builddeps-ich9deblob @@ -29,10 +29,10 @@ set -u -e -v cd resources/utilities/ich9deblob # clean it first -rm -f ich9deblob +make clean # build ich9deblob -gcc -o ich9deblob ich9deblob.c ich9desc.c -I. +make # done. go back to main directory cd ../../../ @@ -125,7 +125,9 @@ rm -f resources/utilities/i945-pwm/i945-pwm # clean ich9deblob utility # -------------------------------------------------------------------- -rm -f resources/utilities/ich9deblob/ich9deblob +cd resources/utilities/ich9deblob/ +make clean +cd ../../../ # a few more things to do last # -------------------------------------------------------- |