diff mbox

SV: [PATCH 06/18] Busybox: (Better) Darwin support

Message ID BD22328D0EB182418C2A0952DC2454F8791B7C00@VMPREVAS1.prevas.se
State Not Applicable
Headers show

Commit Message

kim.hansen@prevas.dk Dec. 17, 2014, 3:07 p.m. UTC
I am skipping this, since V=1 change should be seperate, and the added patch is not really applied.

If you still want some of this, just make a pull request for meta/base on github.

Br,
Kim
diff mbox

Patch

diff --git a/recipes/busybox/busybox-1.19.4/osx.patch b/recipes/busybox/busybox-1.19.4/osx.patch
new file mode 100644
index 0000000..67bc401
--- /dev/null
+++ b/recipes/busybox/busybox-1.19.4/osx.patch
@@ -0,0 +1,12 @@ 
+diff -urN busybox-1.19.4/scripts/kconfig/mconf.c busybox-1.19.4-2/scripts/kconfig/mconf.c
+--- busybox-1.19.4/scripts/kconfig/mconf.c     2012-02-04 20:24:55.000000000 +0100
++++ busybox-1.19.4-2/scripts/kconfig/mconf.c   2012-10-04 09:38:35.000000000 +0200
+@@ -9,6 +9,8 @@
+  */
+
+ #define _XOPEN_SOURCE 700
++/* On Darwin, this may be needed to get SIGWINCH: */
++#define _DARWIN_C_SOURCE 1
+
+ #include <sys/ioctl.h>
+ #include <sys/wait.h>
diff --git a/recipes/busybox/busybox.inc b/recipes/busybox/busybox.inc
index fd12b00..1a47dc5 100644
--- a/recipes/busybox/busybox.inc
+++ b/recipes/busybox/busybox.inc
@@ -55,7 +55,7 @@  export EXTRA_LDFLAGS = "${LDFLAGS}"

 require busybox-configure.inc

-EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}"
+EXTRA_OEMAKE += "ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}"
 EXTRA_OEMAKE += "CROSS=${HOST_PREFIX}"

 do_compile() {