diff options
-rw-r--r-- | Config.in | 19 | ||||
-rw-r--r-- | mk/build.mk | 6 | ||||
-rw-r--r-- | mk/image.mk | 9 | ||||
-rw-r--r-- | mk/kernel-ver.mk | 16 | ||||
-rw-r--r-- | mk/toolchain.mk | 1 | ||||
-rw-r--r-- | mk/vars.mk | 3 | ||||
-rw-r--r-- | package/binutils/Makefile | 6 | ||||
-rw-r--r-- | package/busybox/Makefile | 2 | ||||
-rw-r--r-- | package/dropbear/Makefile | 1 | ||||
-rw-r--r-- | package/dropbear/patches/patch-Makefile_in | 21 | ||||
-rw-r--r-- | package/eglibc/Makefile | 62 | ||||
-rw-r--r-- | package/glibc/Makefile | 51 | ||||
-rw-r--r-- | package/libgcc/Makefile | 8 | ||||
-rw-r--r-- | package/librt/Makefile | 4 | ||||
-rw-r--r-- | package/libssp/Makefile | 47 | ||||
-rw-r--r-- | package/m4/patches/patch-lib_config_hin | 14 | ||||
-rw-r--r-- | package/m4/patches/patch-lib_stdio_in_h | 10 | ||||
-rw-r--r-- | rules.mk | 1 | ||||
-rw-r--r-- | target/config/Config.in | 52 | ||||
-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.patch | 467 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/bsd-compatibility.patch | 2512 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/cris-etrax.patch | 12 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/defaults.patch | 22 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/gemalto.patch | 11 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/lemote-rfkill.patch | 21 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/mmc-host.patch | 36 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/module-alloc-size-check.patch | 21 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/mtd-rootfs.patch | 26 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/non-static.patch | 33 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/startup.patch | 20 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/usb-defaults-off.patch | 20 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/uuid.patch | 263 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/vga-cons-default-off.patch | 12 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/wlan-cf.patch | 11 | ||||
-rw-r--r-- | target/linux/patches/3.6.1/zlib-inflate.patch | 12 | ||||
-rw-r--r-- | target/mips/sys-available/qemu-mips64el | 16 | ||||
-rw-r--r-- | target/x86_64/target.mk | 2 | ||||
-rw-r--r-- | toolchain/Makefile | 7 | ||||
-rw-r--r-- | toolchain/eglibc/Makefile | 147 | ||||
-rw-r--r-- | toolchain/eglibc/Makefile.inc | 24 | ||||
-rw-r--r-- | toolchain/eglibc/Makefile.multilib | 47 | ||||
-rw-r--r-- | toolchain/gcc/Makefile | 1 | ||||
-rw-r--r-- | toolchain/glibc/Makefile | 101 | ||||
-rw-r--r-- | toolchain/glibc/Makefile.multilib | 16 | ||||
-rw-r--r-- | toolchain/kernel-headers/Makefile | 24 | ||||
-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.patch | 238 | ||||
-rw-r--r-- | toolchain/kernel-headers/patches/3.6.1/cleankernel.patch | 11 | ||||
-rw-r--r-- | toolchain/kernel-headers/patches/3.6.1/etrax-header.patch | 94 | ||||
-rw-r--r-- | toolchain/kernel-headers/patches/3.6.1/linux-gcc-check.patch | 18 | ||||
-rw-r--r-- | toolchain/kernel-headers/patches/3.6.1/microperl.patch | 24 | ||||
-rw-r--r-- | toolchain/kernel-headers/patches/3.6.1/mkpiggy.patch | 28 | ||||
-rw-r--r-- | toolchain/kernel-headers/patches/3.6.1/relocs.patch | 3131 | ||||
-rw-r--r-- | toolchain/kernel-headers/patches/3.6.1/sortext.patch | 22 | ||||
-rw-r--r-- | toolchain/uClibc/Makefile | 28 |
100 files changed, 7651 insertions, 160 deletions
@@ -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) |