build_cross_tools_gcc4: move sysroot dir into install dir

This allows us to sneak in system include and library search dirs in
haikuporter without doing anything outside the cross tools dir.
This commit is contained in:
Ingo Weinhold
2013-08-03 05:29:15 +02:00
parent 833b6688aa
commit f975dc63f1
+4 -1
View File
@@ -109,7 +109,7 @@ objDir=${installDir}-build
binutilsObjDir=$objDir/binutils
gccObjDir=$objDir/gcc
stdcxxObjDir=$objDir/stdcxx
sysrootDir=$objDir/sysroot
sysrootDir=$installDir/sysroot
tmpIncludeDir=$sysrootDir/boot/system/develop/headers
tmpLibDir=$sysrootDir/boot/system/develop/lib
@@ -249,6 +249,9 @@ fi
# Only the ones from the source tree should be used.
rm -rf $installDir/$haikuMachine/sys-include
# remove the sysroot dir
rm -rf $sysrootDir
# remove the objects dir
rm -rf $objDir