diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-12 14:32:28 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-12 14:32:28 +0200 |
commit | f04227421063498a88707c43ec80b2b70d9b8d83 (patch) | |
tree | 189393a32f3af46500594d744010913ebebc1f2b /package/busybox | |
parent | 7a8e9c0ea181628555861fb4bbd3760ed1ca80e2 (diff) |
complete musl support, tested with qemu-arm
Diffstat (limited to 'package/busybox')
-rw-r--r-- | package/busybox/Makefile | 1 | ||||
-rw-r--r-- | package/busybox/patches/009-extra-flags.patch | 9 | ||||
-rw-r--r-- | package/busybox/patches/013-musl.patch | 11 |
3 files changed, 15 insertions, 6 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile index 7ab3da9db..4a8e8ea68 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -9,7 +9,6 @@ PKG_RELEASE:= 2 PKG_MD5SUM:= e025414bc6cd79579cc7a32a45d3ae1c PKG_DESCR:= Core utilities for embedded systems PKG_SECTION:= base -PKG_BUILDDEP:= libtirpc PKG_URL:= http://www.busybox.net/ PKG_SITES:= http://www.busybox.net/downloads/ diff --git a/package/busybox/patches/009-extra-flags.patch b/package/busybox/patches/009-extra-flags.patch index f440d4380..00671a0f4 100644 --- a/package/busybox/patches/009-extra-flags.patch +++ b/package/busybox/patches/009-extra-flags.patch @@ -1,7 +1,7 @@ -diff -Nur busybox-1.19.4.orig/Makefile busybox-1.19.4/Makefile ---- busybox-1.19.4.orig/Makefile 2012-02-04 20:34:24.000000000 +0100 -+++ busybox-1.19.4/Makefile 2012-03-22 19:17:49.099007985 +0100 -@@ -318,10 +318,10 @@ +diff -Nur busybox-1.20.2.orig/Makefile busybox-1.20.2/Makefile +--- busybox-1.20.2.orig/Makefile 2012-07-02 16:20:27.000000000 +0200 ++++ busybox-1.20.2/Makefile 2013-08-12 13:36:00.000000000 +0200 +@@ -318,10 +318,9 @@ CFLAGS := $(CFLAGS) # Added only to final link stage of busybox binary CFLAGS_busybox := $(CFLAGS_busybox) @@ -11,7 +11,6 @@ diff -Nur busybox-1.19.4.orig/Makefile busybox-1.19.4/Makefile -LDFLAGS := $(LDFLAGS) -LDLIBS := +LDFLAGS := $(LDFLAGS) $(EXTRA_LDFLAGS) -+LDLIBS := tirpc # Read KERNELRELEASE from .kernelrelease (if it exists) KERNELRELEASE = $(shell cat .kernelrelease 2> /dev/null) diff --git a/package/busybox/patches/013-musl.patch b/package/busybox/patches/013-musl.patch new file mode 100644 index 000000000..af3d05141 --- /dev/null +++ b/package/busybox/patches/013-musl.patch @@ -0,0 +1,11 @@ +diff -Nur busybox-1.20.2.orig/networking/libiproute/iplink.c busybox-1.20.2/networking/libiproute/iplink.c +--- busybox-1.20.2.orig/networking/libiproute/iplink.c 2012-06-26 15:35:45.000000000 +0200 ++++ busybox-1.20.2/networking/libiproute/iplink.c 2013-08-12 13:00:33.000000000 +0200 +@@ -5,7 +5,6 @@ + * Licensed under GPLv2 or later, see file LICENSE in this source tree. + */ + #include <net/if.h> +-#include <net/if_packet.h> + #include <netpacket/packet.h> + #include <netinet/if_ether.h> + |