Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
"BuildArchitecture": {
"description": "Sets the value of the build architecture.",
"valueType": "passThrough",
"values": ["x86", "arm", "arm-softfp", "x64", "arm64"],
"values": ["x86", "arm", "armel", "x64", "arm64"],
"defaultValue": "${CPUArch}"
},
"CmakeBuildType": {
Expand Down
6 changes: 0 additions & 6 deletions cross/arm-softfp/sources.list.jessie

This file was deleted.

7 changes: 7 additions & 0 deletions cross/armel/sources.list.jessie
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
deb http://ftp.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.debian.org/debian/ jessie main contrib non-free

# Stable repo is the only repo that has llvm for armel
deb http://ftp.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.debian.org/debian/ stable main contrib non-free

File renamed without changes.
16 changes: 11 additions & 5 deletions cross/build-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
usage()
{
echo "Usage: $0 [BuildArch] [UbuntuCodeName]"
echo "BuildArch can be: arm, arm-softfp, arm64, x86"
echo "UbuntuCodeName - optional, Code name for Ubuntu, can be: trusty(default), vivid, wily, xenial. If BuildArch is arm-softfp, UbuntuCodeName is ignored."
echo "BuildArch can be: arm, armel, arm64, x86"
echo "UbuntuCodeName - optional, Code name for Ubuntu, can be: trusty(default), vivid, wily, xenial. If BuildArch is armel, UbuntuCodeName is ignored."
exit 1
}

Expand All @@ -30,6 +30,8 @@ __UbuntuPackages+=" zlib1g-dev"
if [ -z "$LLVM_ARM_HOME" ]; then
__LLDB_Package="lldb-3.6-dev"
fi



__BuildArch=arm
__UbuntuArch=armhf
Expand Down Expand Up @@ -60,11 +62,10 @@ for i in "$@" ; do
__UbuntuArch=i386
__UbuntuRepo="http://archive.ubuntu.com/ubuntu"
;;
arm-softfp)
__BuildArch=arm-softfp
armel)
__BuildArch=armel
__UbuntuArch=armel
__UbuntuRepo="http://ftp.debian.org/debian/"
__UbuntuPackages+=" ${__LLDB_Package:-}"
__MachineTriple=arm-linux-gnueabi
__UbuntuCodeName=jessie
;;
Expand Down Expand Up @@ -93,6 +94,11 @@ if [[ "$__BuildArch" == "arm" ]]; then
__UbuntuPackages+=" ${__LLDB_Package:-}"
fi

if [ "$__BuildArch" == "armel" ]; then
__LLDB_Package="lldb-3.5-dev"
__UbuntuPackages+=" ${__LLDB_Package:-}"
fi

__RootfsDir="$__CrossDir/rootfs/$__BuildArch"

if [[ -n "$ROOTFS_DIR" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion src/Native/Unix/gen-buildsys-clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if [[ -n "$CROSSCOMPILE" ]]; then
cmake_extra_defines="$cmake_extra_defines -C $CONFIG_DIR/tryrun.cmake"
cmake_extra_defines="$cmake_extra_defines -DCMAKE_TOOLCHAIN_FILE=$CONFIG_DIR/toolchain.cmake"
fi
if [ "$build_arch" == "arm-softfp" ]; then
if [ "$build_arch" == "armel" ]; then
cmake_extra_defines="$cmake_extra_defines -DARM_SOFTFP=1"
fi

Expand Down
4 changes: 2 additions & 2 deletions src/Native/build-native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ while :; do
arm)
__BuildArch=arm
;;
arm-softfp)
__BuildArch=arm-softfp
armel)
__BuildArch=armel
;;
arm64)
__BuildArch=arm64
Expand Down