aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/busybox/busybox-1.15.3
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-07-09 17:09:38 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-07-09 17:09:38 +0200
commit5a0e69c2f1d467a3bc412b01fdacee68b470dcd5 (patch)
tree36551f5b4c40db60a667ea3ce5dfaaa6afa9688d /recipes/busybox/busybox-1.15.3
parent1620c1459b9a319e98239d7da81ae0d89768b032 (diff)
downloadopenembedded-5a0e69c2f1d467a3bc412b01fdacee68b470dcd5.tar.gz
openembedded-5a0e69c2f1d467a3bc412b01fdacee68b470dcd5.tar.bz2
openembedded-5a0e69c2f1d467a3bc412b01fdacee68b470dcd5.zip
busybox_1.15.3: added a defined(__nios2__)
(actually as there were two entries for __s390__ hijacked one of it Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/busybox/busybox-1.15.3')
-rw-r--r--recipes/busybox/busybox-1.15.3/fdisk_nios2.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/busybox/busybox-1.15.3/fdisk_nios2.patch b/recipes/busybox/busybox-1.15.3/fdisk_nios2.patch
new file mode 100644
index 0000000000..648e68e9da
--- /dev/null
+++ b/recipes/busybox/busybox-1.15.3/fdisk_nios2.patch
@@ -0,0 +1,13 @@
+Index: busybox-1.15.3/util-linux/fdisk_osf.c
+===================================================================
+--- busybox-1.15.3.orig/util-linux/fdisk_osf.c
++++ busybox-1.15.3/util-linux/fdisk_osf.c
+@@ -44,7 +44,7 @@
+ #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"
+
+ #if defined(i386) || defined(__sparc__) || defined(__arm__) \
+- || defined(__m68k__) || defined(__mips__) || defined(__s390__) \
++ || defined(__m68k__) || defined(__mips__) || defined(__nios2__) \
+ || defined(__s390__) || defined(__s390x__) \
+ || defined(__sh__) || defined(__x86_64__) || defined(__avr32__)
+ # define BSD_LABELSECTOR 1