diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2012-10-03 11:20:12 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-18 12:13:38 +0100 |
commit | c489cb6f8498be3fc15a30ce11cba4eaa5878324 (patch) | |
tree | 1e6e55a297c9d3d816852096697d5924ba3e2438 /meta/recipes-core | |
parent | 1523d50e9ff2cdfd799a18ea6e71785db908d125 (diff) | |
download | poky-c489cb6f8498be3fc15a30ce11cba4eaa5878324.tar.gz |
util-linux: add AArch64 support
(From OE-Core rev: 1dbf17d221ee9d50c5de8c04144c92fdc78d6d73)
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux/add-aarch64-support.patch | 18 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.21.2.bb | 3 |
2 files changed, 20 insertions, 1 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 | ||
diff --git a/meta/recipes-core/util-linux/util-linux_2.21.2.bb b/meta/recipes-core/util-linux/util-linux_2.21.2.bb index 39e3609ac0..e64ebe97ac 100644 --- a/meta/recipes-core/util-linux/util-linux_2.21.2.bb +++ b/meta/recipes-core/util-linux/util-linux_2.21.2.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | MAJOR_VERSION = "2.21" | 1 | MAJOR_VERSION = "2.21" |
2 | PR = "r5" | 2 | PR = "r6" |
3 | require util-linux.inc | 3 | require util-linux.inc |
4 | 4 | ||
5 | # note that `lscpu' is under GPLv3+ | 5 | # note that `lscpu' is under GPLv3+ |
@@ -9,6 +9,7 @@ SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \ | |||
9 | file://util-linux-ng-2.16-mount_lock_path.patch \ | 9 | file://util-linux-ng-2.16-mount_lock_path.patch \ |
10 | file://uclibc-__progname-conflict.patch \ | 10 | file://uclibc-__progname-conflict.patch \ |
11 | file://configure-sbindir.patch \ | 11 | file://configure-sbindir.patch \ |
12 | file://add-aarch64-support.patch \ | ||
12 | " | 13 | " |
13 | 14 | ||
14 | SRC_URI[md5sum] = "b75b3cfecb943f74338382fde693c2c3" | 15 | SRC_URI[md5sum] = "b75b3cfecb943f74338382fde693c2c3" |