aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2012-10-03 11:20:12 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-18 12:00:38 +0100
commit1dbf17d221ee9d50c5de8c04144c92fdc78d6d73 (patch)
treea3aaf20f9e553122c526b280690f6247fcb3dce5 /meta/recipes-core/util-linux/util-linux
parent490b12126aff7e8e59569ebb471ce04ba4962b7c (diff)
downloadopenembedded-core-contrib-1dbf17d221ee9d50c5de8c04144c92fdc78d6d73.tar.gz
util-linux: add AArch64 support
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux')
-rw-r--r--meta/recipes-core/util-linux/util-linux/add-aarch64-support.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux/add-aarch64-support.patch b/meta/recipes-core/util-linux/util-linux/add-aarch64-support.patch
new file mode 100644
index 0000000000..4480f13ac5
--- /dev/null
+++ b/meta/recipes-core/util-linux/util-linux/add-aarch64-support.patch
@@ -0,0 +1,18 @@
+---
+ fdisk/fdiskbsdlabel.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- util-linux-2.21.2.orig/fdisk/fdiskbsdlabel.h
++++ util-linux-2.21.2/fdisk/fdiskbsdlabel.h
+@@ -46,10 +46,11 @@
+
+ #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"
+
+ #if defined (__i386__) || defined (__sparc__) || defined (__arm__) || \
+ defined (__mips__) || defined (__s390__) || defined (__sh__) || \
++ defined (__aarch64__) || \
+ defined(__x86_64__) || defined (__avr32__) || defined(__cris__)
+ #define BSD_LABELSECTOR 1
+ #define BSD_LABELOFFSET 0
+ #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)
+ #define BSD_LABELSECTOR 0