Enable targets for EFI on binutils.

objcopy needs to know about EFI targets if we want to build EFI Applications.
Also minor whitespace removal.
This commit is contained in:
Fredrik Holmqvist 2013-08-28 19:59:56 +02:00
parent 2ec188b903
commit f0aee2b4ea

View File

@ -127,7 +127,7 @@ if [ "$HAIKU_USE_GCC_GRAPHITE" = 1 ]; then
gmpObjDir=$objDir/gmp
cloogObjDir=$objDir/cloog
mkdir -p $pplObjDir $gmpObjDir $cloogObjDir || exit 1
gccConfigureArgs="$gccConfigureArgs --with-cloog=$installDir \
--enable-cloog-backend=isl --with-ppl=$installDir \
--disable-cloog-version-check --with-gmp=$installDir \
@ -141,6 +141,7 @@ export LC_ALL=POSIX
cd $binutilsObjDir
CFLAGS="-O2" CXXFLAGS="-O2" $binutilsSourceDir/configure \
--prefix=$installDir $buildHostSpec --target=$haikuMachine \
--enable-targets=$haikuMachine,i386-efi-pe,x86_64-efi-pe \
--disable-nls --disable-shared --disable-werror $binutilsConfigureArgs \
|| exit 1
$MAKE $additionalMakeArgs || exit 1
@ -155,7 +156,7 @@ if [ "$HAIKU_USE_GCC_GRAPHITE" = 1 ]; then
--disable-shared --enable-cxx || exit 1
$MAKE $additionalMakeArgs || exit 1
$MAKE $additionalMakeArgs install || exit 1
# build ppl
cd $pplObjDir
CFLAGS="-O2" CXXFLAGS="-O2" $pplSourceDir/configure --prefix=$installDir \