Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorHyung-Kyu Choi <hk0110.choi@samsung.com>2017-02-15 13:23:32 +0300
committerHyung-Kyu Choi <hk0110.choi@samsung.com>2017-02-15 13:25:33 +0300
commitae503c1a0af98d76f3790db84c4576ac1d8b199a (patch)
tree55f6be65751537cd2209f759f93e7f4253b44e87 /cross
parentee4ef6966d1e38726702923b19515b324b06530c (diff)
Fix build-rootfs.sh to include lldb package
lldb package is missing for architectures other than arm and armel. Also remove some whitespace to sync with build-rootfs.sh in coreclr Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Diffstat (limited to 'cross')
-rwxr-xr-xcross/build-rootfs.sh11
1 files changed, 3 insertions, 8 deletions
diff --git a/cross/build-rootfs.sh b/cross/build-rootfs.sh
index 16828c3c91..4c409f9212 100755
--- a/cross/build-rootfs.sh
+++ b/cross/build-rootfs.sh
@@ -101,14 +101,10 @@ for i in "$@" ; do
esac
done
-if [[ "$__BuildArch" == "arm" ]]; then
- __UbuntuPackages+=" ${__LLDB_Package:-}"
-fi
-
-if [ "$__BuildArch" == "armel" ]; then
+if [ "$__BuildArch" == "armel" ]; then
__LLDB_Package="lldb-3.5-dev"
- __UbuntuPackages+=" ${__LLDB_Package:-}"
-fi
+fi
+__UbuntuPackages+=" ${__LLDB_Package:-}"
__RootfsDir="$__CrossDir/rootfs/$__BuildArch"
@@ -123,7 +119,6 @@ if [ -d "$__RootfsDir" ]; then
rm -rf $__RootfsDir
fi
-
if [[ -n $__LinuxCodeName ]]; then
qemu-debootstrap --arch $__UbuntuArch $__LinuxCodeName $__RootfsDir $__UbuntuRepo
cp $__CrossDir/$__BuildArch/sources.list.$__LinuxCodeName $__RootfsDir/etc/apt/sources.list