diff options
| author | Nathan Rossi <nathan.rossi@xilinx.com> | 2012-10-09 12:03:52 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2012-10-09 12:03:52 +1000 |
| commit | 3d889d3de203bdebb280c6fb245b246f4ffde9a7 (patch) | |
| tree | 0563d1e2a1520e76ea33221dd058961988ee89cc /recipes-core | |
| parent | c09b5c40b635559fbcc47de72bb528bae6fb8cc0 (diff) | |
| download | meta-xilinx-3d889d3de203bdebb280c6fb245b246f4ffde9a7.tar.gz | |
util-linux: Added patch to fix microblaze support
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Diffstat (limited to 'recipes-core')
| -rw-r--r-- | recipes-core/util-linux/files/microblaze-fixes.patch | 17 | ||||
| -rw-r--r-- | recipes-core/util-linux/util-linux_2.21.bbappend | 5 |
2 files changed, 22 insertions, 0 deletions
diff --git a/recipes-core/util-linux/files/microblaze-fixes.patch b/recipes-core/util-linux/files/microblaze-fixes.patch new file mode 100644 index 00000000..484caa97 --- /dev/null +++ b/recipes-core/util-linux/files/microblaze-fixes.patch | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | Fixed microblaze/el support. | ||
| 2 | |||
| 3 | Index: util-linux-2.21/fdisk/fdiskbsdlabel.h | ||
| 4 | =================================================================== | ||
| 5 | --- util-linux-2.21.orig/fdisk/fdiskbsdlabel.h 2012-10-08 12:48:44.749417892 +1000 | ||
| 6 | +++ util-linux-2.21/fdisk/fdiskbsdlabel.h 2012-10-08 12:49:58.356743930 +1000 | ||
| 7 | @@ -54,7 +54,8 @@ | ||
| 8 | #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__) | ||
| 9 | #define BSD_LABELSECTOR 0 | ||
| 10 | #define BSD_LABELOFFSET 64 | ||
| 11 | -#elif defined (__s390__) || defined (__s390x__) | ||
| 12 | +#elif defined (__s390__) || defined (__s390x__) || \ | ||
| 13 | + defined(__microblaze__) || defined(__microblazeel__) | ||
| 14 | #define BSD_LABELSECTOR 1 | ||
| 15 | #define BSD_LABELOFFSET 0 | ||
| 16 | #else | ||
| 17 | |||
diff --git a/recipes-core/util-linux/util-linux_2.21.bbappend b/recipes-core/util-linux/util-linux_2.21.bbappend new file mode 100644 index 00000000..057e880c --- /dev/null +++ b/recipes-core/util-linux/util-linux_2.21.bbappend | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | FILESEXTRAPATHS := "${THISDIR}/files" | ||
| 2 | |||
| 3 | # Apply patch to add "microblaze" support to util-linux | ||
| 4 | SRC_URI += "file://microblaze-fixes.patch" | ||
| 5 | |||
