diff options
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux/add-aarch64-support.patch')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux/add-aarch64-support.patch | 18 |
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 @@ | |||
1 | --- | ||
2 | fdisk/fdiskbsdlabel.h | 1 + | ||
3 | 1 file changed, 1 insertion(+) | ||
4 | |||
5 | --- util-linux-2.21.2.orig/fdisk/fdiskbsdlabel.h | ||
6 | +++ util-linux-2.21.2/fdisk/fdiskbsdlabel.h | ||
7 | @@ -46,10 +46,11 @@ | ||
8 | |||
9 | #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec" | ||
10 | |||
11 | #if defined (__i386__) || defined (__sparc__) || defined (__arm__) || \ | ||
12 | defined (__mips__) || defined (__s390__) || defined (__sh__) || \ | ||
13 | + defined (__aarch64__) || \ | ||
14 | defined(__x86_64__) || defined (__avr32__) || defined(__cris__) | ||
15 | #define BSD_LABELSECTOR 1 | ||
16 | #define BSD_LABELOFFSET 0 | ||
17 | #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__) | ||
18 | #define BSD_LABELSECTOR 0 | ||