more appropriate default rootfs-dir path (#1126)
authorYaroslav Yamshchikov <y.yamshchiko@samsung.com>
Mon, 23 Dec 2019 17:14:45 +0000 (20:14 +0300)
committerJan Kotas <jkotas@microsoft.com>
Mon, 23 Dec 2019 17:14:45 +0000 (09:14 -0800)
crossbuilding of at least armel:tizen and arm64:xenial works fine
without specifying the ROOTFS_DIR environment variable (with default
path) only if changes of this PR are applied. (building coreclr using
src/coreclr/build.sh script on linux)

src/coreclr/build.sh

index 68185e0..0922544 100755 (executable)
@@ -658,7 +658,7 @@ __CrossGenCoreLibLog="$__LogsDir/CrossgenCoreLib_$__BuildOS.$__BuildArch.$__Buil
 if [ $__CrossBuild == 1 ]; then
     export CROSSCOMPILE=1
     if ! [[ -n "$ROOTFS_DIR" ]]; then
-        export ROOTFS_DIR="$__RepoRootDir/eng/common/cross/rootfs/$__BuildArch"
+        export ROOTFS_DIR="$__RepoRootDir/.tools/rootfs/$__BuildArch"
     fi
 fi