busybox_1.15.3: added a defined(__nios2__)
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Fri, 9 Jul 2010 15:09:38 +0000 (17:09 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Fri, 9 Jul 2010 15:09:38 +0000 (17:09 +0200)
(actually as there were two entries for __s390__ hijacked one of it

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/busybox/busybox-1.15.3/fdisk_nios2.patch [new file with mode: 0644]
recipes/busybox/busybox_1.15.3.bb

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 (file)
index 0000000..648e68e
--- /dev/null
@@ -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
index 6f2e4ec..7313686 100644 (file)
@@ -1,8 +1,9 @@
 require busybox.inc
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 
 SRC_URI = "\
   http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
+  file://fdisk_nios2.patch \
   \
   file://udhcpscript.patch \
   file://udhcpc-fix-nfsroot.patch \