Bladeren bron

update mutlilib support for mips

Waldemar Brodkorb 13 jaren geleden
bovenliggende
commit
f4dba935fc
50 gewijzigde bestanden met toevoegingen van 28 en 17 verwijderingen
  1. 12 7
      Config.in
  2. 11 5
      mk/kernel-ver.mk
  3. 0 0
      target/linux/patches/3.4.13/bsd-compatibility.patch
  4. 0 0
      target/linux/patches/3.4.13/cris-etrax.patch
  5. 0 0
      target/linux/patches/3.4.13/defaults.patch
  6. 0 0
      target/linux/patches/3.4.13/gemalto.patch
  7. 0 0
      target/linux/patches/3.4.13/lemote-rfkill.patch
  8. 0 0
      target/linux/patches/3.4.13/mmc-host.patch
  9. 0 0
      target/linux/patches/3.4.13/module-alloc-size-check.patch
  10. 0 0
      target/linux/patches/3.4.13/non-static.patch
  11. 0 0
      target/linux/patches/3.4.13/sparc-include.patch
  12. 0 0
      target/linux/patches/3.4.13/startup.patch
  13. 0 0
      target/linux/patches/3.4.13/usb-defaults-off.patch
  14. 0 0
      target/linux/patches/3.4.13/uuid.patch
  15. 0 0
      target/linux/patches/3.4.13/vga-cons-default-off.patch
  16. 0 0
      target/linux/patches/3.4.13/wlan-cf.patch
  17. 0 0
      target/linux/patches/3.4.13/zlib-inflate.patch
  18. 0 0
      target/linux/patches/3.5.6/brcm.patch
  19. 0 0
      target/linux/patches/3.5.6/bsd-compatibility.patch
  20. 0 0
      target/linux/patches/3.5.6/cris-etrax.patch
  21. 0 0
      target/linux/patches/3.5.6/defaults.patch
  22. 0 0
      target/linux/patches/3.5.6/gemalto.patch
  23. 0 0
      target/linux/patches/3.5.6/lemote-rfkill.patch
  24. 0 0
      target/linux/patches/3.5.6/mmc-host.patch
  25. 0 0
      target/linux/patches/3.5.6/module-alloc-size-check.patch
  26. 0 0
      target/linux/patches/3.5.6/mtd-rootfs.patch
  27. 0 0
      target/linux/patches/3.5.6/non-static.patch
  28. 0 0
      target/linux/patches/3.5.6/startup.patch
  29. 0 0
      target/linux/patches/3.5.6/usb-defaults-off.patch
  30. 0 0
      target/linux/patches/3.5.6/uuid.patch
  31. 0 0
      target/linux/patches/3.5.6/vga-cons-default-off.patch
  32. 0 0
      target/linux/patches/3.5.6/wlan-cf.patch
  33. 0 0
      target/linux/patches/3.5.6/zlib-inflate.patch
  34. 3 3
      toolchain/eglibc/Makefile
  35. 2 2
      toolchain/eglibc/Makefile.multilib
  36. 0 0
      toolchain/kernel-headers/patches/3.4.13/aufs2.patch
  37. 0 0
      toolchain/kernel-headers/patches/3.4.13/cleankernel.patch
  38. 0 0
      toolchain/kernel-headers/patches/3.4.13/etrax-header.patch
  39. 0 0
      toolchain/kernel-headers/patches/3.4.13/linux-gcc-check.patch
  40. 0 0
      toolchain/kernel-headers/patches/3.4.13/microperl.patch
  41. 0 0
      toolchain/kernel-headers/patches/3.4.13/mkpiggy.patch
  42. 0 0
      toolchain/kernel-headers/patches/3.4.13/relocs.patch
  43. 0 0
      toolchain/kernel-headers/patches/3.5.6/aufs2.patch
  44. 0 0
      toolchain/kernel-headers/patches/3.5.6/cleankernel.patch
  45. 0 0
      toolchain/kernel-headers/patches/3.5.6/etrax-header.patch
  46. 0 0
      toolchain/kernel-headers/patches/3.5.6/linux-gcc-check.patch
  47. 0 0
      toolchain/kernel-headers/patches/3.5.6/microperl.patch
  48. 0 0
      toolchain/kernel-headers/patches/3.5.6/mkpiggy.patch
  49. 0 0
      toolchain/kernel-headers/patches/3.5.6/relocs.patch
  50. 0 0
      toolchain/kernel-headers/patches/3.5.6/sortext.patch

+ 12 - 7
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

+ 11 - 5
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

+ 0 - 0
target/linux/patches/3.4.9/bsd-compatibility.patch → target/linux/patches/3.4.13/bsd-compatibility.patch


+ 0 - 0
target/linux/patches/3.4.9/cris-etrax.patch → target/linux/patches/3.4.13/cris-etrax.patch


+ 0 - 0
target/linux/patches/3.4.9/defaults.patch → target/linux/patches/3.4.13/defaults.patch


+ 0 - 0
target/linux/patches/3.4.9/gemalto.patch → target/linux/patches/3.4.13/gemalto.patch


+ 0 - 0
target/linux/patches/3.4.9/lemote-rfkill.patch → target/linux/patches/3.4.13/lemote-rfkill.patch


+ 0 - 0
target/linux/patches/3.4.9/mmc-host.patch → target/linux/patches/3.4.13/mmc-host.patch


+ 0 - 0
target/linux/patches/3.4.9/module-alloc-size-check.patch → target/linux/patches/3.4.13/module-alloc-size-check.patch


+ 0 - 0
target/linux/patches/3.4.9/non-static.patch → target/linux/patches/3.4.13/non-static.patch


+ 0 - 0
target/linux/patches/3.4.9/sparc-include.patch → target/linux/patches/3.4.13/sparc-include.patch


+ 0 - 0
target/linux/patches/3.4.9/startup.patch → target/linux/patches/3.4.13/startup.patch


+ 0 - 0
target/linux/patches/3.4.9/usb-defaults-off.patch → target/linux/patches/3.4.13/usb-defaults-off.patch


+ 0 - 0
target/linux/patches/3.4.9/uuid.patch → target/linux/patches/3.4.13/uuid.patch


+ 0 - 0
target/linux/patches/3.4.9/vga-cons-default-off.patch → target/linux/patches/3.4.13/vga-cons-default-off.patch


+ 0 - 0
target/linux/patches/3.4.9/wlan-cf.patch → target/linux/patches/3.4.13/wlan-cf.patch


+ 0 - 0
target/linux/patches/3.4.9/zlib-inflate.patch → target/linux/patches/3.4.13/zlib-inflate.patch


+ 0 - 0
target/linux/patches/3.5.4/brcm.patch → target/linux/patches/3.5.6/brcm.patch


+ 0 - 0
target/linux/patches/3.5.4/bsd-compatibility.patch → target/linux/patches/3.5.6/bsd-compatibility.patch


+ 0 - 0
target/linux/patches/3.5.4/cris-etrax.patch → target/linux/patches/3.5.6/cris-etrax.patch


+ 0 - 0
target/linux/patches/3.5.4/defaults.patch → target/linux/patches/3.5.6/defaults.patch


+ 0 - 0
target/linux/patches/3.5.4/gemalto.patch → target/linux/patches/3.5.6/gemalto.patch


+ 0 - 0
target/linux/patches/3.5.4/lemote-rfkill.patch → target/linux/patches/3.5.6/lemote-rfkill.patch


+ 0 - 0
target/linux/patches/3.5.4/mmc-host.patch → target/linux/patches/3.5.6/mmc-host.patch


+ 0 - 0
target/linux/patches/3.5.4/module-alloc-size-check.patch → target/linux/patches/3.5.6/module-alloc-size-check.patch


+ 0 - 0
target/linux/patches/3.5.4/mtd-rootfs.patch → target/linux/patches/3.5.6/mtd-rootfs.patch


+ 0 - 0
target/linux/patches/3.5.4/non-static.patch → target/linux/patches/3.5.6/non-static.patch


+ 0 - 0
target/linux/patches/3.5.4/startup.patch → target/linux/patches/3.5.6/startup.patch


+ 0 - 0
target/linux/patches/3.5.4/usb-defaults-off.patch → target/linux/patches/3.5.6/usb-defaults-off.patch


+ 0 - 0
target/linux/patches/3.5.4/uuid.patch → target/linux/patches/3.5.6/uuid.patch


+ 0 - 0
target/linux/patches/3.5.4/vga-cons-default-off.patch → target/linux/patches/3.5.6/vga-cons-default-off.patch


+ 0 - 0
target/linux/patches/3.5.4/wlan-cf.patch → target/linux/patches/3.5.6/wlan-cf.patch


+ 0 - 0
target/linux/patches/3.5.4/zlib-inflate.patch → target/linux/patches/3.5.6/zlib-inflate.patch


+ 3 - 3
toolchain/eglibc/Makefile

@@ -48,7 +48,7 @@ $(WRKBUILD)/.headers: $(WRKBUILD)/.headers_configure
 			$(MAKE) install-headers install-bootstrap-headers=yes cross-compiling=yes \
 		); \
 		touch $(STAGING_TARGET_DIR)-$${abi/*:/}/usr/include/gnu/stubs.h; \
-		touch $(STAGING_TARGET_DIR)-$${abi/*:/}/usr/include/gnu/stubs-{32,x32,64}.h; \
+		touch $(STAGING_TARGET_DIR)-$${abi/*:/}/usr/include/gnu/stubs-{32,x32,64,o32,n32}.h; \
 	done
 	touch $@
 else
@@ -76,7 +76,7 @@ $(WRKBUILD)/.headers: $(WRKBUILD)/.headers_configure
 		$(MAKE) install-headers install-bootstrap-headers=yes cross-compiling=yes \
 	);
 	touch $(STAGING_TARGET_DIR)/usr/include/gnu/stubs.h
-	touch $(STAGING_TARGET_DIR)/usr/include/gnu/stubs-{32,x32,64}.h
+	touch $(STAGING_TARGET_DIR)/usr/include/gnu/stubs-{32,x32,64,o32,n32}.h
 	touch $@
 endif
 
@@ -135,7 +135,7 @@ ifeq ($(ADK_TARGET_ABI_X32),y)
 	${EGLIBC_ENV} $(MAKE) -C $(EGLIBC_BUILD_DIR_FINAL)-x32 install_root=$(STAGING_TARGET_DIR) install
 endif
 	touch $(STAGING_TARGET_DIR)/usr/include/gnu/stubs.h
-	touch $(STAGING_TARGET_DIR)/usr/include/gnu/stubs-{32,x32,64}.h
+	touch $(STAGING_TARGET_DIR)/usr/include/gnu/stubs-{32,x32,64,o32,n32}.h
 	# for libgcc build we need C library files, 64 bit default
 	mkdir -p $(STAGING_TARGET_DIR)/lib/$(REAL_GNU_TARGET_NAME)/4.7.2 ; \
 	$(CP) $(STAGING_TARGET_DIR)-64/lib/* $(STAGING_TARGET_DIR)-64/usr/lib/* \

+ 2 - 2
toolchain/eglibc/Makefile.multilib

@@ -25,10 +25,10 @@ endif
 endif
 ifeq ($(ADK_TARGET_MULTILIB_MIPS_O32),y)
 ifeq ($(ADK_KERNEL_CPU_LITTLE_ENDIAN),y)
-TABI+=mips64el-openadk-linux-gnu:o32
+TABI+=mips64el-openadk-linux-gnu:32
 TCFLAGS:=-mabi=
 else
-TABI+=mips64-openadk-linux-gnu:o32
+TABI+=mips64-openadk-linux-gnu:32
 TCFLAGS:=-mabi=
 endif
 endif

+ 0 - 0
toolchain/kernel-headers/patches/3.4.9/aufs2.patch → toolchain/kernel-headers/patches/3.4.13/aufs2.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.4.9/cleankernel.patch → toolchain/kernel-headers/patches/3.4.13/cleankernel.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.4.9/etrax-header.patch → toolchain/kernel-headers/patches/3.4.13/etrax-header.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.4.9/linux-gcc-check.patch → toolchain/kernel-headers/patches/3.4.13/linux-gcc-check.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.4.9/microperl.patch → toolchain/kernel-headers/patches/3.4.13/microperl.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.4.9/mkpiggy.patch → toolchain/kernel-headers/patches/3.4.13/mkpiggy.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.4.9/relocs.patch → toolchain/kernel-headers/patches/3.4.13/relocs.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.5.4/aufs2.patch → toolchain/kernel-headers/patches/3.5.6/aufs2.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.5.4/cleankernel.patch → toolchain/kernel-headers/patches/3.5.6/cleankernel.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.5.4/etrax-header.patch → toolchain/kernel-headers/patches/3.5.6/etrax-header.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.5.4/linux-gcc-check.patch → toolchain/kernel-headers/patches/3.5.6/linux-gcc-check.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.5.4/microperl.patch → toolchain/kernel-headers/patches/3.5.6/microperl.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.5.4/mkpiggy.patch → toolchain/kernel-headers/patches/3.5.6/mkpiggy.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.5.4/relocs.patch → toolchain/kernel-headers/patches/3.5.6/relocs.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.5.4/sortext.patch → toolchain/kernel-headers/patches/3.5.6/sortext.patch