diff options
author | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-06-11 10:29:53 +1000 |
---|---|---|
committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-06-13 14:33:33 +1000 |
commit | 717e13c423e8e4ee560196ebdf3b3f0ff4b27e26 (patch) | |
tree | 9bc70613f8a4dc27f6b3127b507bb489c62ae741 /recipes-core | |
parent | 44ae4d359bf0b93e8e97c7b1b2b43786b4da53c7 (diff) | |
download | meta-xilinx-717e13c423e8e4ee560196ebdf3b3f0ff4b27e26.tar.gz |
util-linux: Replace local patch with submitted patch
* Initial MicroBlaze patch has been submitted up-stream
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Diffstat (limited to 'recipes-core')
3 files changed, 30 insertions, 15 deletions
diff --git a/recipes-core/util-linux/files/fdisk-add-support-for-the-MicroBlaze-architecture.patch b/recipes-core/util-linux/files/fdisk-add-support-for-the-MicroBlaze-architecture.patch new file mode 100644 index 00000000..0a2d71ff --- /dev/null +++ b/recipes-core/util-linux/files/fdisk-add-support-for-the-MicroBlaze-architecture.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From: Nathan Rossi <nathan.rossi@xilinx.com> | ||
2 | Date: Fri, 7 Jun 2013 14:03:41 +1000 | ||
3 | Subject: [PATCH] fdisk: add support for the MicroBlaze architecture | ||
4 | |||
5 | Add support to fdisk for the MicroBlaze architecture. | ||
6 | |||
7 | Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> | ||
8 | Upstream-Status: Submitted | ||
9 | --- | ||
10 | fdisks/fdiskbsdlabel.h | 3 ++- | ||
11 | 1 files changed, 2 insertions(+), 1 deletions(-) | ||
12 | |||
13 | diff --git a/fdisks/fdiskbsdlabel.h b/fdisks/fdiskbsdlabel.h | ||
14 | index 8c4e4e7..69f1065 100644 | ||
15 | --- a/fdisks/fdiskbsdlabel.h | ||
16 | +++ b/fdisks/fdiskbsdlabel.h | ||
17 | @@ -49,7 +49,8 @@ | ||
18 | #if defined (__i386__) || defined (__sparc__) || defined (__arm__) || \ | ||
19 | defined (__mips__) || defined (__s390__) || defined (__sh__) || \ | ||
20 | defined (__aarch64__) || defined(__xtensa__) || \ | ||
21 | - defined(__x86_64__) || defined (__avr32__) || defined(__cris__) | ||
22 | + defined (__x86_64__) || defined (__avr32__) || defined(__cris__) || \ | ||
23 | + defined (__microblaze__) | ||
24 | #define BSD_LABELSECTOR 1 | ||
25 | #define BSD_LABELOFFSET 0 | ||
26 | #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__) | ||
27 | -- | ||
28 | 1.7.5.4 | ||
29 | |||
diff --git a/recipes-core/util-linux/files/microblaze-fixes.patch b/recipes-core/util-linux/files/microblaze-fixes.patch deleted file mode 100644 index 1bac8ea2..00000000 --- a/recipes-core/util-linux/files/microblaze-fixes.patch +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | Upstream-Status: Not-submitted [Needs verification] | ||
2 | --- | ||
3 | diff a/fdisks/fdiskbsdlabel.h b/fdisks/fdiskbsdlabel.h | ||
4 | --- a/fdisks/fdiskbsdlabel.h | ||
5 | +++ b/fdisks/fdiskbsdlabel.h | ||
6 | @@ -55,7 +55,7 @@ | ||
7 | #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__) | ||
8 | #define BSD_LABELSECTOR 0 | ||
9 | #define BSD_LABELOFFSET 64 | ||
10 | -#elif defined (__s390__) || defined (__s390x__) | ||
11 | +#elif defined (__s390__) || defined (__s390x__) || defined (__microblaze__) || defined (__microblazeel__) | ||
12 | #define BSD_LABELSECTOR 1 | ||
13 | #define BSD_LABELOFFSET 0 | ||
14 | #else | ||
diff --git a/recipes-core/util-linux/util-linux_2.23.bbappend b/recipes-core/util-linux/util-linux_2.23.bbappend index 057e880c..01e37383 100644 --- a/recipes-core/util-linux/util-linux_2.23.bbappend +++ b/recipes-core/util-linux/util-linux_2.23.bbappend | |||
@@ -1,5 +1,5 @@ | |||
1 | FILESEXTRAPATHS := "${THISDIR}/files" | 1 | FILESEXTRAPATHS := "${THISDIR}/files" |
2 | 2 | ||
3 | # Apply patch to add "microblaze" support to util-linux | 3 | # Apply patch to add "microblaze" support to util-linux |
4 | SRC_URI += "file://microblaze-fixes.patch" | 4 | SRC_URI += "file://fdisk-add-support-for-the-MicroBlaze-architecture.patch" |
5 | 5 | ||