2016-03-17 06:26:34 +00:00
|
|
|
diff -upr xbmc-16.0-Jarvis.orig/configure.ac xbmc-16.0-Jarvis/configure.ac
|
|
|
|
--- xbmc-16.0-Jarvis.orig/configure.ac 2016-03-19 07:28:05.389703445 +0100
|
|
|
|
+++ xbmc-16.0-Jarvis/configure.ac 2016-03-19 07:35:44.771669064 +0100
|
|
|
|
@@ -564,7 +564,7 @@ case $host in
|
2015-11-05 17:30:36 +00:00
|
|
|
use_x11=no
|
2016-03-17 06:26:34 +00:00
|
|
|
build_shared_lib=yes
|
2015-11-05 17:30:36 +00:00
|
|
|
;;
|
|
|
|
- i*86*-linux-gnu*|i*86*-*-linux-uclibc*)
|
|
|
|
+ i*86*-linux-gnu*|i*86*-*-linux-uclibc*|i*86*-linux-musl*)
|
2016-03-17 06:26:34 +00:00
|
|
|
target_platform=target_linux
|
2015-11-05 17:30:36 +00:00
|
|
|
ARCH="i486-linux"
|
|
|
|
if test "$use_cpu" = "no" -a "$cross_compiling" = "yes"; then
|
2016-03-17 06:26:34 +00:00
|
|
|
@@ -586,7 +586,7 @@ case $host in
|
2015-11-05 17:30:36 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
- x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*)
|
|
|
|
+ x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*|x86_64-*-linux-musl*)
|
2016-03-17 06:26:34 +00:00
|
|
|
target_platform=target_linux
|
2015-11-05 17:30:36 +00:00
|
|
|
ARCH="x86_64-linux"
|
|
|
|
if test "$use_cpu" = "no" -a "$cross_compiling" = "yes"; then
|
2016-03-17 06:26:34 +00:00
|
|
|
@@ -645,7 +645,7 @@ case $host in
|
2015-11-05 17:30:36 +00:00
|
|
|
powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*)
|
|
|
|
ARCH="powerpc64-linux"
|
|
|
|
;;
|
|
|
|
- arm*-*-linux-gnu*|arm*-*-linux-uclibc*)
|
|
|
|
+ arm*-*-linux-gnu*|arm*-*-linux-uclibc*|arm*-*-linux-musl*)
|
2016-03-17 06:26:34 +00:00
|
|
|
target_platform=target_linux
|
2015-11-05 17:30:36 +00:00
|
|
|
ARCH="arm"
|
|
|
|
use_arch="arm"
|
2016-03-17 06:26:34 +00:00
|
|
|
diff -upr xbmc-16.0-Jarvis.orig/m4/xbmc_arch.m4 xbmc-16.0-Jarvis/m4/xbmc_arch.m4
|
|
|
|
--- xbmc-16.0-Jarvis.orig/m4/xbmc_arch.m4 2016-02-20 16:21:19.000000000 +0100
|
|
|
|
+++ xbmc-16.0-Jarvis/m4/xbmc_arch.m4 2016-03-19 07:37:37.070660659 +0100
|
2015-11-05 18:00:27 +00:00
|
|
|
@@ -2,10 +2,10 @@ AC_DEFUN([XBMC_SETUP_ARCH_DEFINES],[
|
|
|
|
|
2015-11-05 17:30:36 +00:00
|
|
|
# build detection and setup - this is the native arch
|
|
|
|
case $build in
|
|
|
|
- i*86*-linux-gnu*|i*86*-*-linux-uclibc*)
|
|
|
|
+ i*86*-linux-gnu*|i*86*-*-linux-uclibc*|i*86*-linux-musl*)
|
|
|
|
AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX")
|
|
|
|
;;
|
|
|
|
- x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*)
|
|
|
|
+ x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*|x86_64-*-linux-musl*)
|
|
|
|
AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX")
|
|
|
|
;;
|
|
|
|
i386-*-freebsd*)
|
2015-11-05 18:00:27 +00:00
|
|
|
@@ -23,7 +23,7 @@ case $build in
|
2015-11-05 17:30:36 +00:00
|
|
|
powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*)
|
|
|
|
AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_POWERPC64")
|
|
|
|
;;
|
|
|
|
- arm*-*-linux-gnu*|arm*-*-linux-uclibc*)
|
|
|
|
+ arm*-*-linux-gnu*|arm*-*-linux-uclibc*|arm*-*-linux-musl*)
|
|
|
|
AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX")
|
|
|
|
;;
|
|
|
|
*)
|
2015-11-05 18:00:27 +00:00
|
|
|
@@ -33,10 +33,10 @@ esac
|
|
|
|
|
|
|
|
# host detection and setup - this is the target arch
|
|
|
|
case $host in
|
|
|
|
- i*86*-linux-gnu*|i*86*-*-linux-uclibc*)
|
2016-03-17 06:26:34 +00:00
|
|
|
+ i*86*-linux-gnu*|i*86*-*-linux-uclibc*|*i*86*-linux-musl*)
|
2015-11-05 18:00:27 +00:00
|
|
|
AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX")
|
|
|
|
;;
|
|
|
|
- x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*)
|
|
|
|
+ x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*|x86_64-*-linux-musl*)
|
|
|
|
AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX")
|
|
|
|
;;
|
|
|
|
i386-*-freebsd*)
|
|
|
|
@@ -60,7 +60,7 @@ case $host in
|
|
|
|
powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*)
|
|
|
|
AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_POWERPC64")
|
|
|
|
;;
|
|
|
|
- arm*-*-linux-gnu*|arm*-*-linux-uclibc*)
|
|
|
|
+ arm*-*-linux-gnu*|arm*-*-linux-uclibc*|arm*-linux-musl*)
|
|
|
|
AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX")
|
|
|
|
;;
|
|
|
|
mips*-*-linux-gnu*|mips*-*-linux-uclibc*)
|