diff options
82 files changed, 285922 insertions, 55020 deletions
@@ -110,6 +110,10 @@ depends on !ADK_TOOLCHAIN_ONLY && !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_ choice prompt "Kernel Version" +config ADK_KERNEL_VERSION_3_12_6 + prompt "3.12.6" + boolean + config ADK_KERNEL_VERSION_3_11_10 prompt "3.11.10" boolean @@ -122,6 +126,7 @@ endchoice config ADK_KERNEL_VERSION string + default "3.12.6" if ADK_KERNEL_VERSION_3_12_6 default "3.11.10" if ADK_KERNEL_VERSION_3_11_10 default "3.4.71" if ADK_KERNEL_VERSION_3_4_71 help @@ -1,8 +1,7 @@ +- add grsec kernel patch - microblaze: add cfgfs partition to dts, add partition to spartan dts - use host-tools infrastructure for openjdk7 - remove openjdk6 - evaluate libguestfs for image creation -- add grsec kernel patch - check for gcc and SSP again -- port full blown perl - port w3m diff --git a/mk/build.mk b/mk/build.mk index f20b4e59e..abf2d4a7c 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -18,6 +18,7 @@ DEFCONFIG= ADK_DEBUG=n \ ADK_SIMPLE_NETWORK_CONFIG=n \ ADK_USE_CCACHE=n \ ADK_TOOLCHAIN_GDB=n \ + ADK_PACKAGE_BASE_FILES=y \ ADK_PACKAGE_E2FSCK_STATIC=n \ ADK_PACKAGE_KEXECINIT=n \ ADK_PACKAGE_INSTALLER=n \ @@ -29,12 +30,10 @@ DEFCONFIG= ADK_DEBUG=n \ ADK_PACKAGE_OPENJDK7=n \ ADK_PACKAGE_CLASSPATH=n \ ADK_PACKAGE_GRUB=n \ - ADK_PACKAGE_BASE_FILES=y \ ADK_PACKAGE_CRYPTINIT=n \ ADK_PACKAGE_PAM=n \ ADK_PACKAGE_VIRTINST=n \ ADK_PACKAGE_URLGRABBER=n \ - ADK_PACKAGE_PERL=n \ ADK_PACKAGE_LIBSSP=n \ ADK_PACKAGE_OPENAFS=n \ ADK_PKG_XORG=n \ diff --git a/mk/kernel-ver.mk b/mk/kernel-ver.mk index e4c368af5..ae4a99069 100644 --- a/mk/kernel-ver.mk +++ b/mk/kernel-ver.mk @@ -4,6 +4,12 @@ KERNEL_MOD_VERSION:= $(KERNEL_VERSION) KERNEL_RELEASE:= 1 KERNEL_MD5SUM:= 59f352d3f4e2cdf6755f79e09fa09176 endif +ifeq ($(ADK_KERNEL_VERSION_3_12_6),y) +KERNEL_VERSION:= 3.12.6 +KERNEL_MOD_VERSION:= $(KERNEL_VERSION) +KERNEL_RELEASE:= 1 +KERNEL_MD5SUM:= ab2fcc368e20d804e77970196154fb9e +endif ifeq ($(ADK_KERNEL_VERSION_3_11_10),y) KERNEL_VERSION:= 3.11.10 KERNEL_MOD_VERSION:= $(KERNEL_VERSION) diff --git a/package/glibc/Makefile b/package/glibc/Makefile index 850280ab5..17c49f3af 100644 --- a/package/glibc/Makefile +++ b/package/glibc/Makefile @@ -50,7 +50,7 @@ glibc-dev-install: echo $(TARGET_CFLAGS) ${INSTALL_DIR} $(IDIR_GLIBC_DEV)/$(ADK_TARGET_LIBC_PATH) $(IDIR_GLIBC_DEV)/usr/lib # install linker script - -cp ./files/libc.so.$(CPU_ARCH) $(IDIR_GLIBC_DEV)/usr/lib/libc.so + cp ./files/libc.so.$(CPU_ARCH) $(IDIR_GLIBC_DEV)/usr/lib/libc.so ifeq ($(ADK_TARGET_ABI_O32),y) ifeq ($(ADK_big),y) $(SED) "s#@@ELFTARGET@@#elf32-tradbigmips#" $(IDIR_GLIBC_DEV)/usr/lib/libc.so diff --git a/package/glibc/files/libc.so.arm b/package/glibc/files/libc.so.arm new file mode 100644 index 000000000..a79b29aa3 --- /dev/null +++ b/package/glibc/files/libc.so.arm @@ -0,0 +1,5 @@ +/* GNU ld script + Use the shared library, but some functions are only in + the static library, so try that secondarily. */ +OUTPUT_FORMAT(elf32-littlearm) +GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.3 ) ) diff --git a/package/glibc/files/libc.so.mips b/package/glibc/files/libc.so.mips index 9e73ea39c..32a3700e7 100644 --- a/package/glibc/files/libc.so.mips +++ b/package/glibc/files/libc.so.mips @@ -1,5 +1,5 @@ /* GNU ld script Use the shared library, but some functions are only in - the static library, so try that secondarily. */ - OUTPUT_FORMAT(@@ELFTARGET@@) - GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) ) + the static library, so try that secondarily. */ +OUTPUT_FORMAT(elf32-tradbigmips) +GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) ) diff --git a/package/glibc/files/libc.so.mipsel b/package/glibc/files/libc.so.mipsel index 9e73ea39c..6a6ff5582 100644 --- a/package/glibc/files/libc.so.mipsel +++ b/package/glibc/files/libc.so.mipsel @@ -1,5 +1,5 @@ /* GNU ld script Use the shared library, but some functions are only in - the static library, so try that secondarily. */ - OUTPUT_FORMAT(@@ELFTARGET@@) - GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) ) + the static library, so try that secondarily. */ +OUTPUT_FORMAT(elf32-tradlittlemips) +GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) ) diff --git a/package/glibc/files/libc.so.ppc b/package/glibc/files/libc.so.ppc new file mode 100644 index 000000000..3d4612706 --- /dev/null +++ b/package/glibc/files/libc.so.ppc @@ -0,0 +1,5 @@ +/* GNU ld script + Use the shared library, but some functions are only in + the static library, so try that secondarily. */ +OUTPUT_FORMAT(elf32-powerpc) +GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) ) diff --git a/package/glibc/files/libc.so.ppc64 b/package/glibc/files/libc.so.ppc64 new file mode 100644 index 000000000..35a1edcc7 --- /dev/null +++ b/package/glibc/files/libc.so.ppc64 @@ -0,0 +1,5 @@ +/* GNU ld script + Use the shared library, but some functions are only in + the static library, so try that secondarily. */ +OUTPUT_FORMAT(elf64-powerpc) +GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld64.so.1 ) ) diff --git a/package/microperl/Makefile b/package/microperl/Makefile deleted file mode 100644 index 53c380d10..000000000 --- a/package/microperl/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# This file is part of the OpenADK project. OpenADK is copyrighted -# material, please see the LICENCE file in the top-level directory. - -include ${TOPDIR}/rules.mk - -PKG_NAME:= microperl -PKG_VERSION:= 5.10.0 -PKG_RELEASE:= 3 -PKG_MD5SUM:= d2c39b002ebfd2c3c5dba589365c5a71 -PKG_DESCR:= Perl without operating-specific functions -PKG_SECTION:= lang -PKG_URL:= http://www.perl.org/ -PKG_SITES:= ftp://ftp.cpan.org/pub/CPAN/src/5.0/ - -PKG_ARCH_DEPENDS:= !avr32 !m68k - -DISTFILES:= perl-${PKG_VERSION}.tar.gz -WRKDIST= ${WRKDIR}/perl-${PKG_VERSION} - -include ${TOPDIR}/mk/package.mk - -$(eval $(call PKG_template,MICROPERL,microperl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) - -CONFIG_STYLE:= manual -INSTALL_STYLE:= manual - -MAKE_FLAGS+= CC="${TARGET_CC}" OPTIMIZE="${TARGET_CFLAGS}" -MAKE_FILE:= Makefile.micro - -pre-configure: - $(CP) ./files/uconfig.h.$(CPU_ARCH) $(WRKBUILD)/uconfig.h - -do-install: - ${INSTALL_DIR} ${IDIR_MICROPERL}/usr/bin - ${INSTALL_DIR} ${IDIR_MICROPERL}/usr/lib/perl5/${PKG_VERSION} - ${INSTALL_BIN} ${WRKBUILD}/microperl ${IDIR_MICROPERL}/usr/bin/perl - ${INSTALL_DATA} ${WRKBUILD}/lib/strict.pm \ - ${IDIR_MICROPERL}/usr/lib/perl5/${PKG_VERSION} - -include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/microperl/files/uconfig.h.arm b/package/microperl/files/uconfig.h.arm deleted file mode 100644 index c5491c2b7..000000000 --- a/package/microperl/files/uconfig.h.arm +++ /dev/null @@ -1,4462 +0,0 @@ -/* - * This file was produced by running the config_h.SH script, which - * gets its values from config.sh, which is generally produced by - * running Configure. - * - * Feel free to modify any of this as the need arises. Note, however, - * that running config_h.SH again will wipe out any changes you've made. - * For a more permanent change edit config.sh and rerun config_h.SH. - * - * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $ - */ - -/* - * Package name : perl5 - * Source directory : . - * Configuration time: Mon Sep 14 22:24:11 CEST 2009 - * Configured by : OpenADK - * Target system : linux linux 2.6.30.5 #4 smp fri sep 11 13:47:48 cest 2009 x86_64 unknown - */ - -#ifndef _config_h_ -#define _config_h_ - -/* LOC_SED: - * This symbol holds the complete pathname to the sed program. - */ -#define LOC_SED "/bin/sed" /**/ - -/* HAS_ALARM: - * This symbol, if defined, indicates that the alarm routine is - * available. - */ -#define HAS_ALARM /**/ - -/* HAS_BCMP: - * This symbol is defined if the bcmp() routine is available to - * compare blocks of memory. - */ -/*#define HAS_BCMP / **/ - -/* HAS_BCOPY: - * This symbol is defined if the bcopy() routine is available to - * copy blocks of memory. - */ -/*#define HAS_BCOPY / **/ - -/* HAS_BZERO: - * This symbol is defined if the bzero() routine is available to - * set a memory block to 0. - */ -/*#define HAS_BZERO / **/ - -/* HAS_CHOWN: - * This symbol, if defined, indicates that the chown routine is - * available. - */ -#define HAS_CHOWN /**/ - -/* HAS_CHROOT: - * This symbol, if defined, indicates that the chroot routine is - * available. - */ -#define HAS_CHROOT /**/ - -/* HAS_CHSIZE: - * This symbol, if defined, indicates that the chsize routine is available - * to truncate files. You might need a -lx to get this routine. - */ -/*#define HAS_CHSIZE / **/ - -/* HAS_CTERMID: - * This symbol, if defined, indicates that the ctermid routine is - * available to generate filename for terminal. - */ -#define HAS_CTERMID /**/ - -/* HAS_CUSERID: - * This symbol, if defined, indicates that the cuserid routine is - * available to get character login names. - */ -#define HAS_CUSERID /**/ - -/* HAS_DBL_DIG: - * This symbol, if defined, indicates that this system's <float.h> - * or <limits.h> defines the symbol DBL_DIG, which is the number - * of significant digits in a double precision number. If this - * symbol is not defined, a guess of 15 is usually pretty good. - */ -#define HAS_DBL_DIG /* */ - -/* HAS_DIFFTIME: - * This symbol, if defined, indicates that the difftime routine is - * available. - */ -#define HAS_DIFFTIME /**/ - -/* HAS_DLERROR: - * This symbol, if defined, indicates that the dlerror routine is - * available to return a string describing the last error that - * occurred from a call to dlopen(), dlclose() or dlsym(). - */ -/*#define HAS_DLERROR / **/ - -/* HAS_DUP2: - * This symbol, if defined, indicates that the dup2 routine is - * available to duplicate file descriptors. - */ -#define HAS_DUP2 /**/ - -/* HAS_FCHMOD: - * This symbol, if defined, indicates that the fchmod routine is available - * to change mode of opened files. If unavailable, use chmod(). - */ -#define HAS_FCHMOD /**/ - -/* HAS_FCHOWN: - * This symbol, if defined, indicates that the fchown routine is available - * to change ownership of opened files. If unavailable, use chown(). - */ -#define HAS_FCHOWN /**/ - -/* HAS_FCNTL: - * This symbol, if defined, indicates to the C program that - * the fcntl() function exists. - */ -#define HAS_FCNTL /**/ - -/* HAS_FGETPOS: - * This symbol, if defined, indicates that the fgetpos routine is - * available to get the file position indicator, similar to ftell(). - */ -#define HAS_FGETPOS /**/ - -/* HAS_FLOCK: - * This symbol, if defined, indicates that the flock routine is - * available to do file locking. - */ -#define HAS_FLOCK /**/ - -/* HAS_FORK: - * This symbol, if defined, indicates that the fork routine is - * available. - */ -#define HAS_FORK /**/ |