summaryrefslogtreecommitdiffstats
path: root/meta/packages/busybox/busybox-1.01/thumb-bsdlabel.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/busybox/busybox-1.01/thumb-bsdlabel.patch')
-rw-r--r--meta/packages/busybox/busybox-1.01/thumb-bsdlabel.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/packages/busybox/busybox-1.01/thumb-bsdlabel.patch b/meta/packages/busybox/busybox-1.01/thumb-bsdlabel.patch
new file mode 100644
index 0000000000..dc3eb7c552
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/thumb-bsdlabel.patch
@@ -0,0 +1,11 @@
1--- busybox-1.01/util-linux/fdisk.c 1970-01-01 00:00:00.000000000 +0000
2+++ busybox-1.01/util-linux/fdisk.c 1970-01-01 00:00:00.000000000 +0000
3@@ -507,7 +507,7 @@ check_aix_label( void )
4
5 #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"
6
7-#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__)
8+#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__thumb__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__)
9 #define BSD_LABELSECTOR 1
10 #define BSD_LABELOFFSET 0
11 #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)