[Pkg-virtualbox-commits] [kbuild] 01/01: Add arm64 support

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Wed Jan 7 13:14:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

locutusofborg-guest pushed a commit to branch master
in repository kbuild.

commit 6ddb1fff4cbf0f92d21f937852d349706e1cf54f
Author: Logan Rosen <logan at ubuntu.com>
Date:   Wed Jan 7 14:13:40 2015 +0100

    Add arm64 support
---
 debian/changelog             |  7 +++++++
 debian/patches/12_arm64.diff | 36 ++++++++++++++++++++++++++++++++++++
 debian/patches/series        |  1 +
 3 files changed, 44 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4c5a5b3..f1b1559 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+kbuild (1:0.1.9998svn2734+dfsg-2) unstable; urgency=medium
+
+  [ Logan Rosen ]
+  * debian/patches/12_arm64.diff: Add arm64 support to fix FTBFS.
+
+ -- Gianfranco Costamagna <costamagnagianfranco at yahoo.it>  Wed, 07 Jan 2015 14:09:08 +0100
+
 kbuild (1:0.1.9998svn2734+dfsg-1) experimental; urgency=medium
 
   [ Gianfranco Costamagna ]
diff --git a/debian/patches/12_arm64.diff b/debian/patches/12_arm64.diff
new file mode 100644
index 0000000..b5aa0c2
--- /dev/null
+++ b/debian/patches/12_arm64.diff
@@ -0,0 +1,36 @@
+--- a/kBuild/env.sh
++++ b/kBuild/env.sh
+@@ -372,6 +372,9 @@
+         arm|armv4l|armv5tel|armv5tejl|armv7l)
+             KBUILD_HOST_ARCH='arm'
+             ;;
++        aarch64)
++            KBUILD_HOST_ARCH='arm64'
++            ;;
+         alpha)
+             KBUILD_HOST_ARCH='alpha'
+             ;;
+--- a/kBuild/header.kmk
++++ b/kBuild/header.kmk
+@@ -189,8 +189,8 @@
+ # build types. (PORTME)
+ #
+ KBUILD_OSES      := darwin dos dragonfly freebsd gnukfreebsd haiku l4 linux netbsd nt openbsd os2 solaris win os-agnostic
+-KBUILD_ARCHES    := x86 amd64 sparc32 sparc64 s390 s390x ppc32 ppc64 ppc64el mips32 mips64 ia64 hppa32 hppa64 arm alpha sh
+-KBUILD_ARCHES_64 := amd64 sparc64 s390x ppc64 ppc64el mips64 ia64 hppa64 alpha
++KBUILD_ARCHES    := x86 amd64 sparc32 sparc64 s390 s390x ppc32 ppc64 ppc64el mips32 mips64 ia64 hppa32 hppa64 arm arm64 alpha sh
++KBUILD_ARCHES_64 := amd64 sparc64 s390x ppc64 ppc64el mips64 ia64 hppa64 arm64 alpha
+ KBUILD_ARCHES_32 := x86 sparc32 s390 ppc32 mips32 hppa32 arm sh
+ 
+ 
+--- a/src/lib/k/kDefs.h
++++ b/src/lib/k/kDefs.h
+@@ -192,6 +192,8 @@
+ #  define K_ARCH    K_ARCH_ALPHA
+ # elif defined(__arm__) || defined(__arm32__)
+ #  define K_ARCH    K_ARCH_ARM_32
++# elif defined(__aarch64__)
++#  define K_ARCH    K_ARCH_ARM_64
+ # elif defined(__hppa__) && defined(__LP64__)
+ #  define K_ARCH    K_ARCH_PARISC_64
+ # elif defined(__hppa__)
diff --git a/debian/patches/series b/debian/patches/series
index 0cf2efb..d4a154e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@
 09_read.c_record_files_SV_33034_Changes_fatal_to_error.patch
 10_ppc64el.diff
 11_find-glob.patch
+12_arm64.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/kbuild.git



More information about the Pkg-virtualbox-commits mailing list