Browse Source

Merge branch 'master' of git+ssh://openadk.org/git/openadk

Waldemar Brodkorb 11 years ago
parent
commit
03df3c583f
35 changed files with 63 additions and 21 deletions
  1. 3 3
      Config.in
  2. 3 3
      mk/kernel-ver.mk
  3. 1 1
      package/nfs-utils/Makefile
  4. 10 1
      package/nfs-utils/patches/patch-tools_rpcgen_Makefile_in
  5. 3 3
      package/nfs-utils/patches/patch-utils_mountd_fsloc_c
  6. 4 0
      package/openssl/Makefile
  7. 13 5
      package/perl/Makefile
  8. 12 3
      package/perl/patches/patch-Makefile_SH
  9. 2 2
      target/linux/config/Config.in.netfilter.ip4
  10. 0 0
      target/linux/patches/3.13.5/bsd-compatibility.patch
  11. 0 0
      target/linux/patches/3.13.5/defaults.patch
  12. 0 0
      target/linux/patches/3.13.5/disable-netfilter.patch
  13. 0 0
      target/linux/patches/3.13.5/export-symbol-for-exmap.patch
  14. 0 0
      target/linux/patches/3.13.5/gemalto.patch
  15. 0 0
      target/linux/patches/3.13.5/lemote-rfkill.patch
  16. 11 0
      target/linux/patches/3.13.5/microblaze-axi.patch
  17. 0 0
      target/linux/patches/3.13.5/microblaze-ethernet.patch
  18. 0 0
      target/linux/patches/3.13.5/microblaze-setup.patch
  19. 0 0
      target/linux/patches/3.13.5/mtd-rootfs.patch
  20. 0 0
      target/linux/patches/3.13.5/non-static.patch
  21. 0 0
      target/linux/patches/3.13.5/ppc64-missing-zlib.patch
  22. 0 0
      target/linux/patches/3.13.5/raspberry.patch
  23. 0 0
      target/linux/patches/3.13.5/startup.patch
  24. 0 0
      target/linux/patches/3.13.5/uuid.patch
  25. 0 0
      target/linux/patches/3.13.5/vga-cons-default-off.patch
  26. 0 0
      target/linux/patches/3.13.5/wlan-cf.patch
  27. 0 0
      target/linux/patches/3.13.5/xargs.patch
  28. 0 0
      target/linux/patches/3.13.5/zlib-inflate.patch
  29. 1 0
      target/microblaze/sys-available/qemu-microblazeel
  30. 0 0
      toolchain/kernel-headers/patches/3.13.5/cleankernel.patch
  31. 0 0
      toolchain/kernel-headers/patches/3.13.5/microperl.patch
  32. 0 0
      toolchain/kernel-headers/patches/3.13.5/mkpiggy.patch
  33. 0 0
      toolchain/kernel-headers/patches/3.13.5/relocs.patch
  34. 0 0
      toolchain/kernel-headers/patches/3.13.5/sgidefs.patch
  35. 0 0
      toolchain/kernel-headers/patches/3.13.5/sortext.patch

+ 3 - 3
Config.in

@@ -109,8 +109,8 @@ depends on !ADK_TOOLCHAIN_ONLY && !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_
 choice
 prompt "Kernel Version"
 
-config ADK_KERNEL_VERSION_3_13_3
-	prompt "3.13.3"
+config ADK_KERNEL_VERSION_3_13_5
+	prompt "3.13.5"
 	boolean
 
 config ADK_KERNEL_VERSION_3_12_11
@@ -129,7 +129,7 @@ endchoice
 
 config ADK_KERNEL_VERSION
 	string
-	default "3.13.3" if ADK_KERNEL_VERSION_3_13_3
+	default "3.13.5" if ADK_KERNEL_VERSION_3_13_5
 	default "3.12.11" if ADK_KERNEL_VERSION_3_12_11
 	default "3.11.10" if ADK_KERNEL_VERSION_3_11_10
 	default "3.4.71" if ADK_KERNEL_VERSION_3_4_71

+ 3 - 3
mk/kernel-ver.mk

@@ -4,11 +4,11 @@ KERNEL_MOD_VERSION:=	$(KERNEL_VERSION)
 KERNEL_RELEASE:=	1
 KERNEL_MD5SUM:=		c5b0775d187bc79992bae17ae781de1e
 endif
-ifeq ($(ADK_KERNEL_VERSION_3_13_3),y)
-KERNEL_VERSION:=	3.13.3
+ifeq ($(ADK_KERNEL_VERSION_3_13_5),y)
+KERNEL_VERSION:=	3.13.5
 KERNEL_MOD_VERSION:=	$(KERNEL_VERSION)
 KERNEL_RELEASE:=	1
-KERNEL_MD5SUM:=		ad98a0c623a124a25dab86406ddc7119
+KERNEL_MD5SUM:=		b9fa20262a7ecbbc3277aa2ee10412da
 endif
 ifeq ($(ADK_KERNEL_VERSION_3_12_11),y)
 KERNEL_VERSION:=	3.12.11

+ 1 - 1
package/nfs-utils/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		nfs-utils
 PKG_VERSION:=		1.2.9
-PKG_RELEASE:=		1
+PKG_RELEASE:=		2
 PKG_MD5SUM:=		18869d16db3f49c053f8c68eba3fe2e0
 PKG_DESCR:=		Utilities for NFS kernel server implementation
 PKG_SECTION:=		net/fs

+ 10 - 1
package/nfs-utils/patches/patch-tools_rpcgen_Makefile_in

@@ -1,5 +1,5 @@
 --- nfs-utils-1.2.9.orig/tools/rpcgen/Makefile.in	2013-11-05 21:58:16.000000000 +0100
-+++ nfs-utils-1.2.9/tools/rpcgen/Makefile.in	2014-02-19 20:12:32.000000000 +0100
++++ nfs-utils-1.2.9/tools/rpcgen/Makefile.in	2014-02-21 17:06:36.000000000 +0100
 @@ -119,8 +119,8 @@ am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  am__v_lt_0 = --silent
  am__v_lt_1 = 
@@ -11,6 +11,15 @@
  AM_V_P = $(am__v_P_@AM_V@)
  am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  am__v_P_0 = false
+@@ -187,7 +187,7 @@ ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
+ ALLOCA = @ALLOCA@
+ AMTAR = @AMTAR@
+ AM_CFLAGS = @AM_CFLAGS@
+-AM_CPPFLAGS = @AM_CPPFLAGS@
++AM_CPPFLAGS = 
+ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+ AR = @AR@
+ AUTOCONF = @AUTOCONF@
 @@ -197,7 +197,7 @@ AWK = @AWK@
  CC = $(CC_FOR_BUILD)
  CCDEPMODE = @CCDEPMODE@

+ 3 - 3
package/nfs-utils/patches/patch-utils_mountd_fsloc_c

@@ -1,6 +1,6 @@
---- nfs-utils-1.2.8.orig/utils/mountd/fsloc.c	2013-04-22 18:47:20.000000000 +0200
-+++ nfs-utils-1.2.8/utils/mountd/fsloc.c	2013-08-13 10:57:48.000000000 +0200
-@@ -127,7 +127,7 @@ static struct servers *method_list(char
+--- nfs-utils-1.2.9.orig/utils/mountd/fsloc.c	2013-11-05 21:41:27.000000000 +0100
++++ nfs-utils-1.2.9/utils/mountd/fsloc.c	2014-02-21 17:01:23.000000000 +0100
+@@ -127,7 +127,7 @@ static struct servers *method_list(char 
  	bool v6esc = false;
  
  	xlog(L_NOTICE, "method_list(%s)", data);

+ 4 - 0
package/openssl/Makefile

@@ -45,6 +45,10 @@ ifneq ($(ADK_PACKAGE_LIBOPENSSL_WITH_CRYPTODEV),)
 OPENSSL_OPTIONS+= -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS
 endif
 
+ifeq ($(ADK_LINUX_MICROBLAZE),y)
+TARGET_CFLAGS:=		$(subst g3,g,$(TARGET_CFLAGS))
+endif
+
 ifeq ($(ADK_LINUX_X86_64),y)
 CONFIG:=		linux-embedded-x86_64
 TARGET_CFLAGS:=		$(subst g3,g,$(TARGET_CFLAGS))

+ 13 - 5
package/perl/Makefile

@@ -12,6 +12,7 @@ PKG_SECTION:=		lang
 PKG_BUILDDEP:=		perl-host
 PKG_URL:=		http://www.perl.org/
 PKG_SITES:=		http://www.cpan.org/src/
+PKG_NOPARALLEL:=	1
 
 include ${TOPDIR}/mk/host.mk
 include ${TOPDIR}/mk/package.mk
@@ -28,15 +29,21 @@ INSTALL_STYLE:=		manual
 TARGET_CFLAGS:=		$(subst g3,g,$(TARGET_CFLAGS))
 
 host-configure:
-	(cd ${WRKBUILD}; ./Configure -der -Uusedl)
+	$(SED) "s#@@STAGING_HOST_DIR@@/perl-host#./perl#" ${WRKBUILD}/Makefile.SH 
+	$(SED) "s#@@LIB@@#-Ilib#" ${WRKBUILD}/Makefile.SH 
+	# darwin workaround
+	$(SED) "s#^usedl.*##" ${WRKBUILD}/hints/darwin.sh
+	(cd ${WRKBUILD}; ${BASH} ./Configure -des -Duseperlio -Uusedl -Uusethreads -Uuseshrplib -Dprefix=${STAGING_HOST_DIR}/usr)
 
 host-build:
 	cd ${WRKBUILD} && env CC_FOR_BUILD="gcc" ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
 		${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET} $(MAKE_TRACE)
 
 perl-hostinstall:
-	$(CP) ${WRKBUILD}/miniperl $(STAGING_HOST_DIR)/usr/bin
-	$(CP) ${WRKBUILD}/perl $(STAGING_HOST_DIR)/usr/bin/perl.host
+	cd ${WRKBUILD} && env CC_FOR_BUILD="gcc" ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
+		${HOST_MAKE_FLAGS} ${HOST_INSTALL_TARGET} $(MAKE_TRACE)
+	mv ${STAGING_HOST_DIR}/usr/bin/perl ${STAGING_HOST_DIR}/usr/bin/perl-host
+	cp ${WRKBUILD}/miniperl ${STAGING_HOST_DIR}/usr/bin
 
 do-configure:
 	sed \
@@ -50,6 +57,8 @@ do-configure:
 		-e 's!%%LIBDIRS%%!$(STAGING_TARGET_DIR)/lib $(STAGING_TARGET_DIR)/usr/lib!g' \
 		-e 's!%%INCDIRS%%!$(STAGING_TARGET_DIR)/include $(STAGING_TARGET_DIR)/usr/include!g' \
 		./files/config.sh.$(CPU_ARCH).$(ADK_TARGET_LIBC) > ${WRKBUILD}/config.sh
+	$(SED) "s#@@STAGING_HOST_DIR@@#${STAGING_HOST_DIR}/usr/bin#" ${WRKBUILD}/Makefile.SH 
+	$(SED) "s#@@LIB@@##" ${WRKBUILD}/Makefile.SH 
 	(cd ${WRKBUILD}; ./Configure -S)
 
 do-build:
@@ -60,8 +69,7 @@ do-build:
 	(cd ${WRKBUILD}; $(MAKE))
 
 do-install:
-	(cd ${WRKBUILD}; $(CP) miniperl.target miniperl)
-	(cd ${WRKBUILD}; $(STAGING_HOST_DIR)/usr/bin/perl.host installperl --destdir=${WRKINST})
+	(cd ${WRKBUILD}; $(STAGING_HOST_DIR)/usr/bin/perl-host installperl --destdir=${WRKINST})
 
 perl-install:
 	${INSTALL_DIR} ${IDIR_PERL}/usr/bin

+ 12 - 3
package/perl/patches/patch-Makefile_SH

@@ -1,5 +1,14 @@
 --- perl-5.18.1.orig/Makefile.SH	2013-08-12 04:44:47.000000000 +0200
-+++ perl-5.18.1/Makefile.SH	2013-12-31 14:09:47.000000000 +0100
++++ perl-5.18.1/Makefile.SH	2014-02-18 16:20:59.000000000 +0100
+@@ -319,7 +319,7 @@ MINIPERL = \$(LDLIBPTH) \$(RUN) ./minipe
+ 
+ # Macros to invoke a copy of our fully operational perl during the build.
+ PERL_EXE = perl\$(EXE_EXT)
+-RUN_PERL = \$(LDLIBPTH) \$(RUN) ./perl\$(EXE_EXT)
++RUN_PERL = \$(LDLIBPTH) \$(RUN) @@STAGING_HOST_DIR@@/perl-host\$(EXE_EXT)
+ 
+ # Macros to run our tests
+ RUN_TESTS = \$(LDLIBPTH) ./runtests
 @@ -665,9 +665,10 @@ bitcount.h: generate_uudmap$(HOST_EXE_EX
  	$(RUN) ./generate_uudmap$(HOST_EXE_EXT) $(generated_headers)
  
@@ -8,7 +17,7 @@
  
  generate_uudmap$(HOST_EXE_EXT): generate_uudmap$(OBJ_EXT)
 -	$(CC) -o generate_uudmap$(EXE_EXT) $(LDFLAGS) generate_uudmap$(OBJ_EXT) $(libs)
-+	$(CC_FOR_BUILD) -o generate_uudmap$(EXE_EXT) generate_uudmap$(OBJ_EXT) $(libs)
++	$(CC_FOR_BUILD) -o generate_uudmap$(EXE_EXT) generate_uudmap$(OBJ_EXT)
  
  miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h
  	$(CCCMD) $(PLDLFLAGS) $*.c
@@ -25,7 +34,7 @@
  # them, which picks up Devel::PPPort's documentation.
  pod/perltoc.pod: $(perltoc_pod_prereqs)  $(PERL_EXE) $(ext) pod/buildtoc
 -	$(RUN_PERL) -f -Ilib pod/buildtoc -q
-+	#$(RUN_PERL) -f -Ilib pod/buildtoc -q
++	$(RUN_PERL) -f @@LIB@@ pod/buildtoc -q
  
  pod/perlapi.pod: pod/perlintern.pod
  

+ 2 - 2
target/linux/config/Config.in.netfilter.ip4

@@ -39,7 +39,7 @@ config ADK_KPACKAGE_KMOD_FULL_NAT
 	select ADK_KPACKAGE_KMOD_NF_NAT if ADK_KERNEL_VERSION_3_4_71
 	select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_11_10
 	select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_12_11
-	select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_13_3
+	select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_13_5
 
 config ADK_KPACKAGE_KMOD_NF_NAT
 	tristate 'Full NAT'
@@ -54,7 +54,7 @@ config ADK_KPACKAGE_KMOD_NF_NAT_IPV4
 	tristate 'Full NAT'
 	depends on ADK_KPACKAGE_KMOD_IP_NF_IPTABLES
 	depends on ADK_KERNEL_VERSION_3_11_10 || ADK_KERNEL_VERSION_3_12_11 \
-		|| ADK_KERNEL_VERSION_3_13_3
+		|| ADK_KERNEL_VERSION_3_13_5
 	help
 	  The Full NAT option allows masquerading, port forwarding and other
 	  forms of full Network Address Port Translation.  It is controlled by

+ 0 - 0
target/linux/patches/3.13.3/bsd-compatibility.patch → target/linux/patches/3.13.5/bsd-compatibility.patch


+ 0 - 0
target/linux/patches/3.13.3/defaults.patch → target/linux/patches/3.13.5/defaults.patch


+ 0 - 0
target/linux/patches/3.13.3/disable-netfilter.patch → target/linux/patches/3.13.5/disable-netfilter.patch


+ 0 - 0
target/linux/patches/3.13.3/export-symbol-for-exmap.patch → target/linux/patches/3.13.5/export-symbol-for-exmap.patch


+ 0 - 0
target/linux/patches/3.13.3/gemalto.patch → target/linux/patches/3.13.5/gemalto.patch


+ 0 - 0
target/linux/patches/3.13.3/lemote-rfkill.patch → target/linux/patches/3.13.5/lemote-rfkill.patch


+ 11 - 0
target/linux/patches/3.13.5/microblaze-axi.patch

@@ -0,0 +1,11 @@
+diff -Nur linux-3.13.3.orig/drivers/net/ethernet/xilinx/xilinx_axienet_main.c linux-3.13.3/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
+--- linux-3.13.3.orig/drivers/net/ethernet/xilinx/xilinx_axienet_main.c	2014-02-13 23:00:14.000000000 +0100
++++ linux-3.13.3/drivers/net/ethernet/xilinx/xilinx_axienet_main.c	2014-02-24 08:03:57.000000000 +0100
+@@ -25,6 +25,7 @@
+ #include <linux/init.h>
+ #include <linux/module.h>
+ #include <linux/netdevice.h>
++#include <linux/of_irq.h>
+ #include <linux/of_mdio.h>
+ #include <linux/of_platform.h>
+ #include <linux/of_address.h>

+ 0 - 0
target/linux/patches/3.13.3/microblaze-ethernet.patch → target/linux/patches/3.13.5/microblaze-ethernet.patch


+ 0 - 0
target/linux/patches/3.13.3/microblaze-setup.patch → target/linux/patches/3.13.5/microblaze-setup.patch


+ 0 - 0
target/linux/patches/3.13.3/mtd-rootfs.patch → target/linux/patches/3.13.5/mtd-rootfs.patch


+ 0 - 0
target/linux/patches/3.13.3/non-static.patch → target/linux/patches/3.13.5/non-static.patch


+ 0 - 0
target/linux/patches/3.13.3/ppc64-missing-zlib.patch → target/linux/patches/3.13.5/ppc64-missing-zlib.patch


+ 0 - 0
target/linux/patches/3.13.3/raspberry.patch → target/linux/patches/3.13.5/raspberry.patch


+ 0 - 0
target/linux/patches/3.13.3/startup.patch → target/linux/patches/3.13.5/startup.patch


+ 0 - 0
target/linux/patches/3.13.3/uuid.patch → target/linux/patches/3.13.5/uuid.patch


+ 0 - 0
target/linux/patches/3.13.3/vga-cons-default-off.patch → target/linux/patches/3.13.5/vga-cons-default-off.patch


+ 0 - 0
target/linux/patches/3.13.3/wlan-cf.patch → target/linux/patches/3.13.5/wlan-cf.patch


+ 0 - 0
target/linux/patches/3.13.3/xargs.patch → target/linux/patches/3.13.5/xargs.patch


+ 0 - 0
target/linux/patches/3.13.3/zlib-inflate.patch → target/linux/patches/3.13.5/zlib-inflate.patch


+ 1 - 0
target/microblaze/sys-available/qemu-microblazeel

@@ -7,6 +7,7 @@ config ADK_TARGET_SYSTEM_QEMU_MICROBLAZEEL
 	select ADK_HARDWARE_QEMU
 	select ADK_TARGET_KERNEL_LINUXBIN
 	select ADK_USE_KERNEL_MINICONFIG
+	select ADK_TOOLCHAIN_GCC_SJLJ
 	help
 	 Qemu support for microblaze little endian architecture.
 

+ 0 - 0
toolchain/kernel-headers/patches/3.13.3/cleankernel.patch → toolchain/kernel-headers/patches/3.13.5/cleankernel.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.13.3/microperl.patch → toolchain/kernel-headers/patches/3.13.5/microperl.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.13.3/mkpiggy.patch → toolchain/kernel-headers/patches/3.13.5/mkpiggy.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.13.3/relocs.patch → toolchain/kernel-headers/patches/3.13.5/relocs.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.13.3/sgidefs.patch → toolchain/kernel-headers/patches/3.13.5/sgidefs.patch


+ 0 - 0
toolchain/kernel-headers/patches/3.13.3/sortext.patch → toolchain/kernel-headers/patches/3.13.5/sortext.patch