summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorFrederik Carlier <frederik.carlier@quamotion.mobi>2017-03-09 22:27:55 (GMT)
committerJan Vorlicek <janvorli@microsoft.com>2017-03-09 22:27:55 (GMT)
commitedb21e4087b8496924806f7bd7261b8876327120 (patch)
tree48c3b34a547e88683cc413314678b7d2b5f438a5 /cross
parent20528076ec1ae8adfea703ee620e3707ce39e8e1 (diff)
downloadcoreclr-edb21e4087b8496924806f7bd7261b8876327120.zip
coreclr-edb21e4087b8496924806f7bd7261b8876327120.tar.gz
coreclr-edb21e4087b8496924806f7bd7261b8876327120.tar.bz2
Support cross compiling for Zesty (#10066)
* Support Zesty, newer liblldb packages * Describe lldb options
Diffstat (limited to 'cross')
-rw-r--r--cross/arm/sources.list.zesty11
-rw-r--r--cross/arm64/sources.list.zesty11
-rwxr-xr-xcross/build-rootfs.sh15
3 files changed, 35 insertions, 2 deletions
diff --git a/cross/arm/sources.list.zesty b/cross/arm/sources.list.zesty
new file mode 100644
index 0000000..ea2c14a
--- /dev/null
+++ b/cross/arm/sources.list.zesty
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty-security main restricted universe multiverse
diff --git a/cross/arm64/sources.list.zesty b/cross/arm64/sources.list.zesty
new file mode 100644
index 0000000..ea2c14a
--- /dev/null
+++ b/cross/arm64/sources.list.zesty
@@ -0,0 +1,11 @@
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty-updates main restricted universe
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty-updates main restricted universe
+
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty-backports main restricted
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty-backports main restricted
+
+deb http://ports.ubuntu.com/ubuntu-ports/ zesty-security main restricted universe multiverse
+deb-src http://ports.ubuntu.com/ubuntu-ports/ zesty-security main restricted universe multiverse
diff --git a/cross/build-rootfs.sh b/cross/build-rootfs.sh
index d1d79bb..6ef286d 100755
--- a/cross/build-rootfs.sh
+++ b/cross/build-rootfs.sh
@@ -4,8 +4,8 @@ usage()
{
echo "Usage: $0 [BuildArch] [LinuxCodeName] [lldbx.y] [--skipunmount]"
echo "BuildArch can be: arm(default), armel, arm64, x86"
- echo "LinuxCodeName - optional, Code name for Linux, can be: trusty(default), vivid, wily, xenial. If BuildArch is armel, LinuxCodeName is jessie(default) or tizen."
- echo "lldbx.y - optional, LLDB version, can be: lldb3.6(default), lldb3.8, no-lldb"
+ echo "LinuxCodeName - optional, Code name for Linux, can be: trusty(default), vivid, wily, xenial, zesty. If BuildArch is armel, LinuxCodeName is jessie(default) or tizen."
+ echo "lldbx.y - optional, LLDB version, can be: lldb3.6(default), lldb3.8, lldb3.9, lldb4.0, no-lldb"
echo "--skipunmount - optional, will skip the unmount of rootfs folder."
exit 1
}
@@ -70,6 +70,12 @@ for i in "$@" ; do
lldb3.8)
__LLDB_Package="lldb-3.8-dev"
;;
+ lldb3.9)
+ __LLDB_Package="lldb-3.9-dev"
+ ;;
+ lldb4.0)
+ __LLDB_Package="lldb-4.0-dev"
+ ;;
no-lldb)
unset __LLDB_Package
;;
@@ -88,6 +94,11 @@ for i in "$@" ; do
__LinuxCodeName=xenial
fi
;;
+ zesty)
+ if [ "$__LinuxCodeName" != "jessie" ]; then
+ __LinuxCodeName=zesty
+ fi
+ ;;
jessie)
__LinuxCodeName=jessie
__UbuntuRepo="http://ftp.debian.org/debian/"