diff options
-rw-r--r-- | target/linux/patches/3.3/lemote-rfkill.patch | 21 | ||||
-rw-r--r-- | toolchain/eglibc/Makefile | 1 | ||||
-rw-r--r-- | toolchain/eglibc/Makefile.inc | 6 | ||||
-rw-r--r-- | toolchain/eglibc/patches/ip_h_bug.patch | 12 | ||||
-rw-r--r-- | toolchain/eglibc/patches/make-mixed-rules.patch | 15 |
5 files changed, 25 insertions, 30 deletions
diff --git a/target/linux/patches/3.3/lemote-rfkill.patch b/target/linux/patches/3.3/lemote-rfkill.patch new file mode 100644 index 000000000..a61488434 --- /dev/null +++ b/target/linux/patches/3.3/lemote-rfkill.patch @@ -0,0 +1,21 @@ +diff -Nur linux-3.3.orig/drivers/net/wireless/rtl818x/rtl8187/rfkill.c linux-3.3/drivers/net/wireless/rtl818x/rtl8187/rfkill.c +--- linux-3.3.orig/drivers/net/wireless/rtl818x/rtl8187/rfkill.c 2012-03-19 00:15:34.000000000 +0100 ++++ linux-3.3/drivers/net/wireless/rtl818x/rtl8187/rfkill.c 2012-03-27 23:29:46.000000000 +0200 +@@ -22,6 +22,9 @@ + + static bool rtl8187_is_radio_enabled(struct rtl8187_priv *priv) + { ++#ifdef CONFIG_LEMOTE_MACH2F ++ return 1; ++#else + u8 gpio; + + gpio = rtl818x_ioread8(priv, &priv->map->GPIO0); +@@ -29,6 +32,7 @@ + gpio = rtl818x_ioread8(priv, &priv->map->GPIO1); + + return gpio & priv->rfkill_mask; ++#endif + } + + void rtl8187_rfkill_init(struct ieee80211_hw *hw) diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile index 40563bcfb..2c40238ef 100644 --- a/toolchain/eglibc/Makefile +++ b/toolchain/eglibc/Makefile @@ -34,6 +34,7 @@ EGLIBC_ENV:= PATH='${TARGET_PATH}' \ libc_cv_forced_unwind=yes \ libc_cv_c_cleanup=yes \ libc_cv_gnu99_inline=yes \ + libc_cv_initfini_array=yes \ libc_cv_slibdir="/lib" ifeq ($(ADK_TARGET_NO_FPU),y) diff --git a/toolchain/eglibc/Makefile.inc b/toolchain/eglibc/Makefile.inc index 42e80e858..56514d3c6 100644 --- a/toolchain/eglibc/Makefile.inc +++ b/toolchain/eglibc/Makefile.inc @@ -2,7 +2,7 @@ # material, please see the LICENCE file in the top-level directory. PKG_NAME:= eglibc -PKG_VERSION:= 2.12.1 -PKG_RELEASE:= 2 -PKG_MD5SUM:= 3668505801160785c2961df0a7ec192e +PKG_VERSION:= 2.14.1 +PKG_RELEASE:= 1 +PKG_MD5SUM:= d01422d90c2f9ef6919949b7ad38ccd4 PKG_SITES:= http://openadk.org/distfiles/ diff --git a/toolchain/eglibc/patches/ip_h_bug.patch b/toolchain/eglibc/patches/ip_h_bug.patch deleted file mode 100644 index 1f6274fac..000000000 --- a/toolchain/eglibc/patches/ip_h_bug.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur eglibc-2.12.orig/libc/sysdeps/generic/netinet/ip.h eglibc-2.12/libc/sysdeps/generic/netinet/ip.h ---- eglibc-2.12.orig/libc/sysdeps/generic/netinet/ip.h 2010-09-28 19:13:14.000000000 +0200 -+++ eglibc-2.12/libc/sysdeps/generic/netinet/ip.h 2010-10-10 14:41:32.000000000 +0200 -@@ -194,7 +194,7 @@ - */ - - #define IPTOS_CLASS_MASK 0xe0 --#define IPTOS_CLASS(class) ((tos) & IPTOS_CLASS_MASK) -+#define IPTOS_CLASS(class) ((class) & IPTOS_CLASS_MASK) - #define IPTOS_CLASS_CS0 0x00 - #define IPTOS_CLASS_CS1 0x20 - #define IPTOS_CLASS_CS2 0x40 diff --git a/toolchain/eglibc/patches/make-mixed-rules.patch b/toolchain/eglibc/patches/make-mixed-rules.patch deleted file mode 100644 index 06a4af3c0..000000000 --- a/toolchain/eglibc/patches/make-mixed-rules.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Nur eglibc-2.12.1.orig/libc/manual/Makefile eglibc-2.12.1/libc/manual/Makefile ---- eglibc-2.12.1.orig/libc/manual/Makefile 2010-09-28 19:14:30.000000000 +0200 -+++ eglibc-2.12.1/libc/manual/Makefile 2010-11-06 17:05:03.000000000 +0100 -@@ -243,7 +243,10 @@ - .PHONY: stubs - stubs: $(objpfx)stubs - endif --$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%: -+$(objpfx)stubs ../po/manual.pot: -+ touch $@ -+ -+$(objpfx)stamp%: - $(make-target-directory) - touch $@ - |