summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2013-02-04 12:52:08 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-02-05 14:56:42 (GMT)
commitb26e9f54996f1ccb198bf9599f6760be07da446f (patch)
tree25556ff45edcc32d3dd4acbe8f25b873667c19af
parent01e859ebffe7e0e335ba0b834789c04afea3f404 (diff)
downloadbuildroot-b26e9f54996f1ccb198bf9599f6760be07da446f.tar.gz
buildroot-b26e9f54996f1ccb198bf9599f6760be07da446f.tar.bz2
util-linux: add support for Xtensa
[Thomas Petazzoni: rename patch to not have the package version in the patch file name, adjust the commit title.] Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/util-linux/util-linux-004-xtensa-support.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/util-linux/util-linux-004-xtensa-support.patch b/package/util-linux/util-linux-004-xtensa-support.patch
new file mode 100644
index 0000000..ab294cc
--- /dev/null
+++ b/package/util-linux/util-linux-004-xtensa-support.patch
@@ -0,0 +1,11 @@
+--- util-linux-2.20.1/fdisk/fdiskbsdlabel.h.orig 2013-01-21 19:17:58.023049856 -0800
++++ util-linux-2.20.1/fdisk/fdiskbsdlabel.h 2013-01-21 19:18:09.867050151 -0800
+@@ -49,7 +49,7 @@
+ #if defined (i386) || defined (__sparc__) || defined (__arm__) || \
+ defined (__mips__) || defined (__s390__) || defined (__sh__) || \
+ defined(__x86_64__) || defined (__avr32__) || defined(__cris__) || \
+- defined(__aarch64__)
++ defined(__aarch64__) || defined(__xtensa__)
+ #define BSD_LABELSECTOR 1
+ #define BSD_LABELOFFSET 0
+ #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)