summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Config.in19
-rw-r--r--mk/build.mk6
-rw-r--r--mk/image.mk9
-rw-r--r--mk/kernel-ver.mk16
-rw-r--r--mk/toolchain.mk1
-rw-r--r--mk/vars.mk3
-rw-r--r--package/binutils/Makefile6
-rw-r--r--package/busybox/Makefile2
-rw-r--r--package/dropbear/Makefile1
-rw-r--r--package/dropbear/patches/patch-Makefile_in21
-rw-r--r--package/eglibc/Makefile62
-rw-r--r--package/glibc/Makefile51
-rw-r--r--package/libgcc/Makefile8
-rw-r--r--package/librt/Makefile4
-rw-r--r--package/libssp/Makefile47
-rw-r--r--package/m4/patches/patch-lib_config_hin14
-rw-r--r--package/m4/patches/patch-lib_stdio_in_h10
-rw-r--r--rules.mk1
-rw-r--r--target/config/Config.in52
-rw-r--r--target/linux/patches/3.4.13/bsd-compatibility.patch (renamed from target/linux/patches/3.4.9/bsd-compatibility.patch)0
-rw-r--r--target/linux/patches/3.4.13/cris-etrax.patch (renamed from target/linux/patches/3.4.9/cris-etrax.patch)0
-rw-r--r--target/linux/patches/3.4.13/defaults.patch (renamed from target/linux/patches/3.4.9/defaults.patch)0
-rw-r--r--target/linux/patches/3.4.13/gemalto.patch (renamed from target/linux/patches/3.4.9/gemalto.patch)0
-rw-r--r--target/linux/patches/3.4.13/lemote-rfkill.patch (renamed from target/linux/patches/3.4.9/lemote-rfkill.patch)0
-rw-r--r--target/linux/patches/3.4.13/mmc-host.patch (renamed from target/linux/patches/3.4.9/mmc-host.patch)0
-rw-r--r--target/linux/patches/3.4.13/module-alloc-size-check.patch (renamed from target/linux/patches/3.4.9/module-alloc-size-check.patch)0
-rw-r--r--target/linux/patches/3.4.13/non-static.patch (renamed from target/linux/patches/3.4.9/non-static.patch)0
-rw-r--r--target/linux/patches/3.4.13/sparc-include.patch (renamed from target/linux/patches/3.4.9/sparc-include.patch)0
-rw-r--r--target/linux/patches/3.4.13/startup.patch (renamed from target/linux/patches/3.4.9/startup.patch)0
-rw-r--r--target/linux/patches/3.4.13/usb-defaults-off.patch (renamed from target/linux/patches/3.4.9/usb-defaults-off.patch)0
-rw-r--r--target/linux/patches/3.4.13/uuid.patch (renamed from target/linux/patches/3.4.9/uuid.patch)0
-rw-r--r--target/linux/patches/3.4.13/vga-cons-default-off.patch (renamed from target/linux/patches/3.4.9/vga-cons-default-off.patch)0
-rw-r--r--target/linux/patches/3.4.13/wlan-cf.patch (renamed from target/linux/patches/3.4.9/wlan-cf.patch)0
-rw-r--r--target/linux/patches/3.4.13/zlib-inflate.patch (renamed from target/linux/patches/3.4.9/zlib-inflate.patch)0
-rw-r--r--target/linux/patches/3.5.6/brcm.patch (renamed from target/linux/patches/3.5.4/brcm.patch)0
-rw-r--r--target/linux/patches/3.5.6/bsd-compatibility.patch (renamed from target/linux/patches/3.5.4/bsd-compatibility.patch)0
-rw-r--r--target/linux/patches/3.5.6/cris-etrax.patch (renamed from target/linux/patches/3.5.4/cris-etrax.patch)0
-rw-r--r--target/linux/patches/3.5.6/defaults.patch (renamed from target/linux/patches/3.5.4/defaults.patch)0
-rw-r--r--target/linux/patches/3.5.6/gemalto.patch (renamed from target/linux/patches/3.5.4/gemalto.patch)0
-rw-r--r--target/linux/patches/3.5.6/lemote-rfkill.patch (renamed from target/linux/patches/3.5.4/lemote-rfkill.patch)0
-rw-r--r--target/linux/patches/3.5.6/mmc-host.patch (renamed from target/linux/patches/3.5.4/mmc-host.patch)0
-rw-r--r--target/linux/patches/3.5.6/module-alloc-size-check.patch (renamed from target/linux/patches/3.5.4/module-alloc-size-check.patch)0
-rw-r--r--target/linux/patches/3.5.6/mtd-rootfs.patch (renamed from target/linux/patches/3.5.4/mtd-rootfs.patch)0
-rw-r--r--target/linux/patches/3.5.6/non-static.patch (renamed from target/linux/patches/3.5.4/non-static.patch)0
-rw-r--r--target/linux/patches/3.5.6/startup.patch (renamed from target/linux/patches/3.5.4/startup.patch)0
-rw-r--r--target/linux/patches/3.5.6/usb-defaults-off.patch (renamed from target/linux/patches/3.5.4/usb-defaults-off.patch)0
-rw-r--r--target/linux/patches/3.5.6/uuid.patch (renamed from target/linux/patches/3.5.4/uuid.patch)0
-rw-r--r--target/linux/patches/3.5.6/vga-cons-default-off.patch (renamed from target/linux/patches/3.5.4/vga-cons-default-off.patch)0
-rw-r--r--target/linux/patches/3.5.6/wlan-cf.patch (renamed from target/linux/patches/3.5.4/wlan-cf.patch)0
-rw-r--r--target/linux/patches/3.5.6/zlib-inflate.patch (renamed from target/linux/patches/3.5.4/zlib-inflate.patch)0
-rw-r--r--target/linux/patches/3.6.1/brcm.patch467
-rw-r--r--target/linux/patches/3.6.1/bsd-compatibility.patch2512
-rw-r--r--target/linux/patches/3.6.1/cris-etrax.patch12
-rw-r--r--target/linux/patches/3.6.1/defaults.patch22
-rw-r--r--target/linux/patches/3.6.1/gemalto.patch11
-rw-r--r--target/linux/patches/3.6.1/lemote-rfkill.patch21
-rw-r--r--target/linux/patches/3.6.1/mmc-host.patch36
-rw-r--r--target/linux/patches/3.6.1/module-alloc-size-check.patch21
-rw-r--r--target/linux/patches/3.6.1/mtd-rootfs.patch26
-rw-r--r--target/linux/patches/3.6.1/non-static.patch33
-rw-r--r--target/linux/patches/3.6.1/startup.patch20
-rw-r--r--target/linux/patches/3.6.1/usb-defaults-off.patch20
-rw-r--r--target/linux/patches/3.6.1/uuid.patch263
-rw-r--r--target/linux/patches/3.6.1/vga-cons-default-off.patch12
-rw-r--r--target/linux/patches/3.6.1/wlan-cf.patch11
-rw-r--r--target/linux/patches/3.6.1/zlib-inflate.patch12
-rw-r--r--target/mips/sys-available/qemu-mips64el16
-rw-r--r--target/x86_64/target.mk2
-rw-r--r--toolchain/Makefile7
-rw-r--r--toolchain/eglibc/Makefile147
-rw-r--r--toolchain/eglibc/Makefile.inc24
-rw-r--r--toolchain/eglibc/Makefile.multilib47
-rw-r--r--toolchain/gcc/Makefile1
-rw-r--r--toolchain/glibc/Makefile101
-rw-r--r--toolchain/glibc/Makefile.multilib16
-rw-r--r--toolchain/kernel-headers/Makefile24
-rw-r--r--toolchain/kernel-headers/patches/3.4.13/aufs2.patch (renamed from toolchain/kernel-headers/patches/3.4.9/aufs2.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.4.13/cleankernel.patch (renamed from toolchain/kernel-headers/patches/3.4.9/cleankernel.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.4.13/etrax-header.patch (renamed from toolchain/kernel-headers/patches/3.4.9/etrax-header.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.4.13/linux-gcc-check.patch (renamed from toolchain/kernel-headers/patches/3.4.9/linux-gcc-check.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.4.13/microperl.patch (renamed from toolchain/kernel-headers/patches/3.4.9/microperl.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.4.13/mkpiggy.patch (renamed from toolchain/kernel-headers/patches/3.4.9/mkpiggy.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.4.13/relocs.patch (renamed from toolchain/kernel-headers/patches/3.4.9/relocs.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.5.6/aufs2.patch (renamed from toolchain/kernel-headers/patches/3.5.4/aufs2.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.5.6/cleankernel.patch (renamed from toolchain/kernel-headers/patches/3.5.4/cleankernel.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.5.6/etrax-header.patch (renamed from toolchain/kernel-headers/patches/3.5.4/etrax-header.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.5.6/linux-gcc-check.patch (renamed from toolchain/kernel-headers/patches/3.5.4/linux-gcc-check.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.5.6/microperl.patch (renamed from toolchain/kernel-headers/patches/3.5.4/microperl.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.5.6/mkpiggy.patch (renamed from toolchain/kernel-headers/patches/3.5.4/mkpiggy.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.5.6/relocs.patch (renamed from toolchain/kernel-headers/patches/3.5.4/relocs.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.5.6/sortext.patch (renamed from toolchain/kernel-headers/patches/3.5.4/sortext.patch)0
-rw-r--r--toolchain/kernel-headers/patches/3.6.1/aufs2.patch238
-rw-r--r--toolchain/kernel-headers/patches/3.6.1/cleankernel.patch11
-rw-r--r--toolchain/kernel-headers/patches/3.6.1/etrax-header.patch94
-rw-r--r--toolchain/kernel-headers/patches/3.6.1/linux-gcc-check.patch18
-rw-r--r--toolchain/kernel-headers/patches/3.6.1/microperl.patch24
-rw-r--r--toolchain/kernel-headers/patches/3.6.1/mkpiggy.patch28
-rw-r--r--toolchain/kernel-headers/patches/3.6.1/relocs.patch3131
-rw-r--r--toolchain/kernel-headers/patches/3.6.1/sortext.patch22
-rw-r--r--toolchain/uClibc/Makefile28
100 files changed, 7651 insertions, 160 deletions
diff --git a/Config.in b/Config.in
index 103e92075..a43ea3e13 100644
--- a/Config.in
+++ b/Config.in
@@ -95,7 +95,7 @@ prompt "Kernel Version"
depends on ADK_TOOLCHAIN_ONLY
config ADK_KERNEL_VERSION_TOOLCHAIN
- prompt "3.5.4"
+ prompt "3.5.6"
boolean
depends on ADK_TOOLCHAIN_ONLY
@@ -106,20 +106,25 @@ depends on !ADK_TOOLCHAIN_ONLY && !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_
choice
prompt "Kernel Version"
-config ADK_KERNEL_VERSION_3_5_4
- prompt "3.5.4"
+config ADK_KERNEL_VERSION_3_6_1
+ prompt "3.6.1"
boolean
-config ADK_KERNEL_VERSION_3_4_9
- prompt "3.4.9"
+config ADK_KERNEL_VERSION_3_5_6
+ prompt "3.5.6"
+ boolean
+
+config ADK_KERNEL_VERSION_3_4_13
+ prompt "3.4.13"
boolean
endchoice
config ADK_KERNEL_VERSION
string
- default "3.4.9" if ADK_KERNEL_VERSION_3_4_9
- default "3.5.4" if ADK_KERNEL_VERSION_3_5_4
+ default "3.4.13" if ADK_KERNEL_VERSION_3_4_13
+ default "3.5.6" if ADK_KERNEL_VERSION_3_5_6
+ default "3.6.1" if ADK_KERNEL_VERSION_3_6_1
help
choice
diff --git a/mk/build.mk b/mk/build.mk
index 0ad4ea788..fa2e21fd5 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -158,12 +158,12 @@ ifeq ($(ADK_NATIVE),y)
else
ifeq ($(ADK_TOOLCHAIN),y)
ifeq ($(ADK_TOOLCHAIN_ONLY),y)
- $(MAKE) -f mk/build.mk toolchain/install tools/install jtools/install package/compile
+ $(MAKE) -f mk/build.mk toolchain/fixup tools/install jtools/install package/compile
else
- $(MAKE) -f mk/build.mk toolchain/install tools/install jtools/install package/compile root_clean package/install
+ $(MAKE) -f mk/build.mk toolchain/fixup tools/install jtools/install package/compile root_clean package/install
endif
else
- $(MAKE) -f mk/build.mk toolchain/install tools/install jtools/install target/config-prepare target/compile package/compile root_clean package/install target/install package_index
+ $(MAKE) -f mk/build.mk toolchain/fixup tools/install jtools/install target/config-prepare target/compile package/compile root_clean package/install target/install package_index
endif
endif
diff --git a/mk/image.mk b/mk/image.mk
index 4e1ab94dc..b432a32ce 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -50,6 +50,15 @@ image-prepare-post:
sed -i '/^root:/s!:/bin/sh$$!:${ROOTSH}!' ${TARGET_DIR}/etc/passwd
-rm -f ${TARGET_DIR}/bin/sh
ln -sf ${BINSH} ${TARGET_DIR}/bin/sh
+ifeq ($(ADK_TARGET_WITH_MULTILIB),y)
+ # multilib fixup lib dirs
+ mv ${TARGET_DIR}/lib/* ${TARGET_DIR}/${ADK_TARGET_LIBC_PATH}
+ rm -rf ${TARGET_DIR}/lib/
+ ln -sf /${ADK_TARGET_LIBC_PATH} ${TARGET_DIR}/lib
+ mv ${TARGET_DIR}/usr/lib/* ${TARGET_DIR}/usr/${ADK_TARGET_LIBC_PATH}
+ rm -rf ${TARGET_DIR}/usr/lib/
+ ln -sf /usr/${ADK_TARGET_LIBC_PATH} ${TARGET_DIR}/usr/lib
+endif
KERNEL_PKGDIR:=$(LINUX_BUILD_DIR)/kernel-pkg
KERNEL_PKG:=$(PACKAGE_DIR)/kernel_$(KERNEL_VERSION)_$(CPU_ARCH).$(PKG_SUFFIX)
diff --git a/mk/kernel-ver.mk b/mk/kernel-ver.mk
index f52834616..87a861da7 100644
--- a/mk/kernel-ver.mk
+++ b/mk/kernel-ver.mk
@@ -1,17 +1,23 @@
ifeq ($(ADK_KERNEL_VERSION_TOOLCHAIN),y)
-KERNEL_VERSION:= 3.5.4
+KERNEL_VERSION:= 3.5.6
KERNEL_MOD_VERSION:= $(KERNEL_VERSION)
KERNEL_RELEASE:= 1
KERNEL_MD5SUM:= 95d5c7271ad448bc965bdb29339b6923
endif
-ifeq ($(ADK_KERNEL_VERSION_3_5_4),y)
-KERNEL_VERSION:= 3.5.4
+ifeq ($(ADK_KERNEL_VERSION_3_6_1),y)
+KERNEL_VERSION:= 3.6.1
+KERNEL_MOD_VERSION:= $(KERNEL_VERSION)
+KERNEL_RELEASE:= 1
+KERNEL_MD5SUM:= 63bdd7d325afae1ac525586d24eb5399
+endif
+ifeq ($(ADK_KERNEL_VERSION_3_5_6),y)
+KERNEL_VERSION:= 3.5.6
KERNEL_MOD_VERSION:= $(KERNEL_VERSION)
KERNEL_RELEASE:= 1
KERNEL_MD5SUM:= 95d5c7271ad448bc965bdb29339b6923
endif
-ifeq ($(ADK_KERNEL_VERSION_3_4_9),y)
-KERNEL_VERSION:= 3.4.9
+ifeq ($(ADK_KERNEL_VERSION_3_4_13),y)
+KERNEL_VERSION:= 3.4.13
KERNEL_MOD_VERSION:= $(KERNEL_VERSION)
KERNEL_RELEASE:= 1
KERNEL_MD5SUM:= f9cd4fe763396bf814f3a71de42fde9b
diff --git a/mk/toolchain.mk b/mk/toolchain.mk
index 6a181a444..80860a0f1 100644
--- a/mk/toolchain.mk
+++ b/mk/toolchain.mk
@@ -2,5 +2,6 @@ prepare: ${WRKDIST}/.prepared $(WRKBUILD)/.headers
configure: ${WRKBUILD}/.configured
compile: $(WRKBUILD)/.compiled
install: $(WRKBUILD)/.installed
+fixup: $(WRKBUILD)/.fixup
clean:
rm -rf $(WRKDIR)
diff --git a/mk/vars.mk b/mk/vars.mk
index bdfd333ad..6fc2eb192 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -99,7 +99,8 @@ TARGET_CFLAGS:= $(TARGET_CFLAGS_ARCH) -fwrapv -fno-ident -fhonour-copts
TARGET_CXXFLAGS:= $(TARGET_CFLAGS_ARCH) -fwrapv -fno-ident
TARGET_LDFLAGS:= -L$(STAGING_TARGET_DIR)/lib -L$(STAGING_TARGET_DIR)/usr/lib \
-Wl,-O2 -Wl,-rpath -Wl,/usr/lib \
- -Wl,-rpath-link -Wl,${STAGING_TARGET_DIR}/usr/lib
+ -Wl,-rpath-link -Wl,${STAGING_TARGET_DIR}/usr/lib \
+ $(ADK_TARGET_ABI_LDFLAGS)
ifneq ($(ADK_NATIVE),)
TARGET_CPPFLAGS:=
diff --git a/package/binutils/Makefile b/package/binutils/Makefile
index 9bd18ce93..43043514c 100644
--- a/package/binutils/Makefile
+++ b/package/binutils/Makefile
@@ -19,6 +19,12 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BINUTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBBFD,libbfd,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBBFD},${PKGSC_LIBBFD}))
+ifeq ($(ADK_TARGET_WITH_MULTILIB),y)
+CONFIGURE_ARGS+= --enable-multilib
+else
+CONFIGURE_ARGS+= --disable-multilib
+endif
+
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
TARGET_CFLAGS+= -fPIC
ifeq ($(ADK_NATIVE),)
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 34b274d96..9fe1ef52a 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= e025414bc6cd79579cc7a32a45d3ae1c
PKG_DESCR:= Core utilities for embedded systems
PKG_SECTION:= base
-#PKG_BUILDDEP:= libtirpc
+PKG_BUILDDEP:= libtirpc
PKG_URL:= http://www.busybox.net/
PKG_SITES:= http://www.busybox.net/downloads/
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile
index 3728ef8da..31d9c68f8 100644
--- a/package/dropbear/Makefile
+++ b/package/dropbear/Makefile
@@ -24,6 +24,7 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DROPBEAR,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,DBCONVERT,dropbearconvert,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_DBCONVERT},${PKG_SECTION}))
+TARGET_LDFLAGS+= $(ADK_TARGET_ABI_CFLAGS)
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
CONFIGURE_ARGS+= --disable-pam \
diff --git a/package/dropbear/patches/patch-Makefile_in b/package/dropbear/patches/patch-Makefile_in
index 0995ed95a..3e6783b64 100644
--- a/package/dropbear/patches/patch-Makefile_in
+++ b/package/dropbear/patches/patch-Makefile_in
@@ -1,5 +1,5 @@
--- dropbear-2012.55.orig/Makefile.in 2012-02-23 14:47:05.000000000 +0100
-+++ dropbear-2012.55/Makefile.in 2012-06-02 21:00:17.000000000 +0200
++++ dropbear-2012.55/Makefile.in 2012-10-05 17:24:16.000000000 +0200
@@ -56,7 +56,7 @@ HEADERS=options.h dbutil.h session.h pac
loginrec.h atomicio.h x11fwd.h agentfwd.h tcpfwd.h compat.h \
listener.h fake-rfc2553.h
@@ -21,7 +21,16 @@