diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-12-26 16:36:16 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-12-26 16:36:16 (EST) |
commit | 1de5a9e8cd48b8fe920c4d1eba343a55f12332df (patch) | |
tree | 6a446e3092003002688b0085a6e68fa0dbcf50ed | |
parent | bc149e7d986f4c11aa85df8d8499dc367b34a855 (diff) | |
download | libreboot-1de5a9e8cd48b8fe920c4d1eba343a55f12332df.zip libreboot-1de5a9e8cd48b8fe920c4d1eba343a55f12332df.tar.gz libreboot-1de5a9e8cd48b8fe920c4d1eba343a55f12332df.tar.bz2 |
build-release, builddeps-ich9deblob, cleandeps: fix ich9deblob
-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 7e529b9..67fc1d8 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 506462a..dffb557 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 # -------------------------------------------------------- |