Index: binutils/2.28/Makefile
===================================================================
--- binutils/2.28/Makefile (nonexistent)
+++ binutils/2.28/Makefile (revision 671)
@@ -0,0 +1,460 @@
+
+COMPONENT_TARGETS = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BT1)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNU/binutils
+
+REQUIRES = libs/zlib/1.2.8
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+REQUIRES += libs/zlib/1.2.8-x86_32
+endif
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 2.28
+tar_bz2_archive = $(SRC_PACKAGE_PATH)/GNU/binutils/binutils-$(version).tar.bz2
+SRC_ARCHIVE = $(tar_bz2_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/binutils-$(version)
+src_dir_name = binutils-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+BINUTILS_DEV_PKG_NAME = binutils
+BINUTILS_DEV_PKG_VERSION = 2.28
+BINUTILS_DEV_PKG_ARCH = $(TOOLCHAIN)
+BINUTILS_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
+BINUTILS_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+BINUTILS_DEV_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+BINUTILS_DEV_PKG_SHORT_DESCRIPTION = GNU binary development tools
+BINUTILS_DEV_PKG_URL = $(BUG_URL)
+BINUTILS_DEV_PKG_LICENSE = GPLv2
+BINUTILS_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(BINUTILS_DEV_PKG_NAME)-pkg-description
+BINUTILS_DEV_PKG_DESCRIPTION_FILE_IN = $(BINUTILS_DEV_PKG_NAME)-pkg-description.in
+BINUTILS_DEV_PKG_INSTALL_SCRIPT = $(BINUTILS_DEV_PKG_NAME)-pkg-install.sh
+
+BINUTILS_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(BINUTILS_DEV_PKG_NAME)-package
+
+pkg_basename = $(BINUTILS_DEV_PKG_NAME)-$(BINUTILS_DEV_PKG_VERSION)-$(BINUTILS_DEV_PKG_ARCH)-$(BINUTILS_DEV_PKG_DISTRO_NAME)-$(BINUTILS_DEV_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(BINUTILS_DEV_PKG)
+
+DEFAULT_LD = ld.bfd
+
+#
+# Common controls for components:
+#
+extra_configure_switches = --disable-dependency-tracking
+extra_configure_switches += --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches += --enable-shared
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --docdir=/usr/share/doc
+
+# NOTE:
+# --enable-threads, --enable-plugins - are GOLD related options
+# --enable-multilib - default 'yes'
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-cpu=cortex-a8
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-fpu=neon
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-cpu=cortex-a7
+extra_configure_switches += --with-arch=armv7ve
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-cpu=cortex-a17
+extra_configure_switches += --with-arch=armv7ve
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-cpu=cortex-a5
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-fpu=neon
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-cpu=cortex-a53
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),aarch64-radix-linux-gnu
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC)),)
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-cpu=cortex-a9
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-fpu=vfpv3
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-cpu=cortex-a15
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=mips32r2
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --enable-werror=no
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),mipsel-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=mips32r5
+extra_configure_switches += --with-tune=p5600
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --enable-werror=no
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),mipsel-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# The --enable-initfini-array option was added in binutils-2.21.51.0.3.
+# This option currently causes a world of hurt trying to compile glibc,
+# and might break static libraries or cause other ill effects. There
+# is an upstream patch for glibc but it does not avoid all of the known
+# problems (and there may be some unknown ones, too), so we will avoid
+# introducing this feature for now.
+# References:
+# http://sourceware.org/bugzilla/show_bug.cgi?id=12343
+# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770
+extra_configure_switches += --disable-initfini-array
+# standard options:
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),i686-$(DISTRO_NAME)-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# The --enable-initfini-array option was added in binutils-2.21.51.0.3.
+# This option currently causes a world of hurt trying to compile glibc,
+# and might break static libraries or cause other ill effects. There
+# is an upstream patch for glibc but it does not avoid all of the known
+# problems (and there may be some unknown ones, too), so we will avoid
+# introducing this feature for now.
+# References:
+# http://sourceware.org/bugzilla/show_bug.cgi?id=12343
+# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770
+extra_configure_switches += --disable-initfini-array
+# standard options:
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --enable-64-bit-bfd
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),x86_64-$(DISTRO_NAME)-linux
+extra_configure_switches += --enable-shared
+endif
+
+
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && \
+ $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ --target=$(TARGET) \
+ $(extra_configure_switches)
+ $(BUILD_ENVIRONMENT) $(MAKE) -C $(build_dir)
+ $(BUILD_ENVIRONMENT) $(MAKE) -C $(build_dir) info
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(BINUTILS_DEV_PKG)
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 -C $(build_dir) install $(env_sysroot)
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 -C $(build_dir) install-info $(env_sysroot)
+ # ======= Differentiate between BSD strings (util-linux) and GNU strings =======
+ @( cd $(BINUTILS_DEV_PKG)/usr/bin ; \
+ mv strings strings-GNU ; \
+ )
+ @( cd $(BINUTILS_DEV_PKG)/usr/share/man/man1 ; \
+ mv strings.1 strings-GNU.1 ; \
+ )
+ # ======= Remove unneeded man pages =======
+ @rm -f $(BINUTILS_DEV_PKG)/usr/share/man/man1/{dlltool,windmc,windres}.1
+ # ======= Install Documentation =======
+ @rm -f $(BINUTILS_DEV_PKG)/usr/share/info/dir
+ @gzip -9 $(BINUTILS_DEV_PKG)/usr/share/info/*
+ @if [ -d $(BINUTILS_DEV_PKG)/usr/share/man ]; then \
+ ( cd $(BINUTILS_DEV_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @chmod a+x $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX)/lib*.la
+ @mkdir -p $(BINUTILS_DEV_PKG)/usr/doc/binutils-$(version)
+ @cp -a $(SRC_DIR)/COPYING* \
+ $(BINUTILS_DEV_PKG)/usr/doc/binutils-$(version)
+ @mkdir -p $(BINUTILS_DEV_PKG)/usr/share/doc/binutils-$(version)
+ @cp -a $(SRC_DIR)/COPYING* $(SRC_DIR)/MAI* $(SRC_DIR)/README* \
+ $(BINUTILS_DEV_PKG)/usr/share/doc/binutils-$(version)
+ @( cd $(SRC_DIR) ; \
+ if [ -r ChangeLog ]; then \
+ DOCSDIR=`echo $(BINUTILS_DEV_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ # ======= remove target destination path from target libtool *.la files =======
+ @( cd $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libbfd.la libopcodes.la \
+ )
+ # ======= remove (-L/usr/lib$(LIBSUFFIX) already set) libiberty.a search path in libtool *.la files too =======
+ @( cd $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,-L$(CURDIR)/$(build_dir)/bfd/../libiberty/pic,,g" libbfd.la ; \
+ sed -i "s,-L$(CURDIR)/$(build_dir)/opcodes/../libiberty/pic,,g" libopcodes.la \
+ )
+ @if [ -r $(BINUTILS_DEV_PKG)/usr/bin/$(DEFAULT_LD) ] ; then \
+ ( cd $(BINUTILS_DEV_PKG)/usr/bin ; rm -f ld ; ln -sf $(DEFAULT_LD) ld ) \
+ fi
+ @mv $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib/ldscripts $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX)
+ @( cd $(BINUTILS_DEV_PKG)/usr/$(TARGET) ; \
+ rm -rf lib ; \
+ ln -s ../lib$(LIBSUFFIX) . ; \
+ for FILE in ar as ld ld.bfd ld.gold nm objcopy objdump ranlib readelf strip ; do \
+ if [ -r ../bin/$$FILE ]; then \
+ rm -f bin/$$FILE ; \
+ ln -s ../../bin/$$FILE bin/$$FILE ; \
+ fi ; \
+ done \
+ )
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+ @mkdir -p $(BINUTILS_DEV_PKG)/usr/lib{$(MULTILIB_X86_32_SUFFIX),$(LIBSUFFIX)}
+ @ln -sf ../lib$(LIBSUFFIX) $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib64
+ @ln -sf ../lib$(MULTILIB_X86_32_SUFFIX) $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib32
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
+ @ln -sf ../lib$(LIBSUFFIX) $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib64
+endif
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(BINUTILS_DEV_PKG))
+ # ======= Libiberty will be installed from GCC by --enable-install-libiberty option
+ # ======= we don't need LIBIBERTY on $(TARGET_DEST_DIR) until GCC will be built
+ # ======= tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libbfd.la libopcodes.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libbfd.la libopcodes.la \
+ )
+ # ======= Strip binaries =======
+ @( cd $(BINUTILS_DEV_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null \
+ )
+ifneq ($(CHRPATH),)
+ # ======= Set RPATH/RUNPATH for target binaries =======
+ @( cd $(BINUTILS_DEV_PKG)/usr/bin ; \
+ for file in `find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(CHRPATH) -l $$file 2> /dev/null | grep "R*PATH"` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(CHRPATH) -r $(TARGET_BIN_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+endif
+ @touch $@
+
+$(BINUTILS_DEV_PKG_DESCRIPTION_FILE): $(BINUTILS_DEV_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(BINUTILS_DEV_PKG_DESCRIPTION_FILE) $(BINUTILS_DEV_PKG_INSTALL_SCRIPT)
+ @cp $(BINUTILS_DEV_PKG_DESCRIPTION_FILE) $(BINUTILS_DEV_PKG)/.DESCRIPTION
+ @cp $(BINUTILS_DEV_PKG_INSTALL_SCRIPT) $(BINUTILS_DEV_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(BINUTILS_DEV_PKG)/.REQUIRES
+ @echo "pkgname=$(BINUTILS_DEV_PKG_NAME)" > $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "pkgver=$(BINUTILS_DEV_PKG_VERSION)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "arch=$(BINUTILS_DEV_PKG_ARCH)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "distroname=$(BINUTILS_DEV_PKG_DISTRO_NAME)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "distrover=$(BINUTILS_DEV_PKG_DISTRO_VERSION)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "group=$(BINUTILS_DEV_PKG_GROUP)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(BINUTILS_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "url=$(BINUTILS_DEV_PKG_URL)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "license=$(BINUTILS_DEV_PKG_LICENSE)" >> $(BINUTILS_DEV_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(BINUTILS_DEV_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: binutils/2.28/PATCHES
===================================================================
--- binutils/2.28/PATCHES (nonexistent)
+++ binutils/2.28/PATCHES (revision 671)
@@ -0,0 +1,7 @@
+
+../../../sources/GNU/binutils/patches/binutils-2.28-dynamic-section-warn.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.28-export-demangle.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.28-gas-comp_dir.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.28-libiberty-bugfixes.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.28-no-config-check.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.28-ppc-dynamic-relocs.patch -p0
Index: binutils/2.28/binutils-pkg-description.in
===================================================================
--- binutils/2.28/binutils-pkg-description.in (nonexistent)
+++ binutils/2.28/binutils-pkg-description.in (revision 671)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+binutils: GNU Binutils @VERSION@ (GNU binary development tools)
+binutils:
+binutils: Binutils is a collection of binary utilities. It includes "as" (the
+binutils: portable GNU assembler), "ld" (the GNU linker), and other utilities
+binutils: for creating and working with binary programs.
+binutils:
+binutils: These utilities are REQUIRED to compile C, C++, Objective-C,
+binutils: Fortran, and most other programming languages.
+binutils:
+binutils:
+binutils:
Index: binutils/2.28/binutils-pkg-install.sh
===================================================================
--- binutils/2.28/binutils-pkg-install.sh (nonexistent)
+++ binutils/2.28/binutils-pkg-install.sh (revision 671)
@@ -0,0 +1,114 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ #
+ # NOTE:
+ # 'install-info' can work using relative paths and we can make use build machine
+ # utility during installation to the some partition and use target 'install-info'
+ # during installation directly on the running target machine.
+ #
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --info-dir=usr/share/info usr/share/info/as.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/bfd.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/binutils.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/gprof.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/ld.info.gz 2>/dev/null
+ elif ! grep "(binutils)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> usr/share/info/dir
+
+Individual utilities
+* addr2line: (binutils)addr2line. Convert addresses to file and
+ line.
+* ar: (binutils)ar. Create, modify, and extract
+ from archives.
+* c++filt: (binutils)c++filt. Filter to demangle encoded C++
+ symbols.
+* cxxfilt: (binutils)c++filt. MS-DOS name for c++filt.
+* dlltool: (binutils)dlltool. Create files needed to build
+ and use DLLs.
+* elfedit: (binutils)elfedit. Update the ELF header of ELF
+ files.
+* nlmconv: (binutils)nlmconv. Converts object code into an
+ NLM.
+* nm: (binutils)nm. List symbols from object files.
+* objcopy: (binutils)objcopy. Copy and translate object
+ files.
+* objdump: (binutils)objdump. Display information from
+ object files.
+* ranlib: (binutils)ranlib. Generate index to archive
+ contents.
+* readelf: (binutils)readelf. Display the contents of ELF
+ format files.
+* size: (binutils)size. List section sizes and total
+ size.
+* strings: (binutils)strings. List printable strings from
+ files.
+* strip: (binutils)strip. Discard symbols.
+* windmc: (binutils)windmc. Generator for Windows message
+ resources.
+* windres: (binutils)windres. Manipulate Windows resources.
+
+Software development
+* As: (as). The GNU assembler.
+* Bfd: (bfd). The Binary File Descriptor library.
+* Binutils: (binutils). The GNU binary utilities.
+* Gas: (as). The GNU assembler.
+* Ld: (ld). The GNU linker.
+* gprof: (gprof). Profiling your program's execution
+EOF
+ fi
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --delete --info-file=usr/share/info/as.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/bfd.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/binutils.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/gprof.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/ld.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ fi
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: binutils/2.28/binutils-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: bison/3.0.4/Makefile
===================================================================
--- bison/3.0.4/Makefile (revision 670)
+++ bison/3.0.4/Makefile (revision 671)
@@ -31,12 +31,12 @@
SOURCE_REQUIRES = sources/GNU/bison
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
-REQUIRES = dev/gcc/5.3.0
+REQUIRES = dev/gcc/5.4.0
else
ifneq ($(HARDWARE),$(HARDWARE_PC64))
-REQUIRES = libs/glibc/2.24
+REQUIRES = libs/glibc/2.25
else
-REQUIRES = libs/glibc/2.24-x86_32
+REQUIRES = libs/glibc/2.25-x86_32
endif
endif
Index: check/0.10.0/Makefile
===================================================================
--- check/0.10.0/Makefile (revision 670)
+++ check/0.10.0/Makefile (revision 671)
@@ -31,12 +31,12 @@
SOURCE_REQUIRES = sources/packages/d/check
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
-REQUIRES = dev/gcc/5.3.0
+REQUIRES = dev/gcc/5.4.0
else
ifneq ($(HARDWARE),$(HARDWARE_PC64))
-REQUIRES = libs/glibc/2.24
+REQUIRES = libs/glibc/2.25
else
-REQUIRES = libs/glibc/2.24-x86_32
+REQUIRES = libs/glibc/2.25-x86_32
endif
endif
Index: flex/2.6.0/Makefile
===================================================================
--- flex/2.6.0/Makefile (revision 670)
+++ flex/2.6.0/Makefile (revision 671)
@@ -31,12 +31,12 @@
SOURCE_REQUIRES = sources/packages/d/flex
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
-REQUIRES = dev/gcc/5.3.0
+REQUIRES = dev/gcc/5.4.0
else
ifneq ($(HARDWARE),$(HARDWARE_PC64))
-REQUIRES = libs/glibc/2.24
+REQUIRES = libs/glibc/2.25
else
-REQUIRES = libs/glibc/2.24-x86_32
+REQUIRES = libs/glibc/2.25-x86_32
endif
endif
Index: gcc/5.4.0/Makefile
===================================================================
--- gcc/5.4.0/Makefile (nonexistent)
+++ gcc/5.4.0/Makefile (revision 671)
@@ -0,0 +1,517 @@
+
+COMPONENT_TARGETS = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BT1)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNU/gcc/gcc-5.4.0
+
+REQUIRES = dev/binutils/2.28
+REQUIRES += libs/isl/0.18
+REQUIRES += libs/mpc/1.0.3
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
+REQUIRES += libs/libunwind/1.2.1
+endif
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 5.4.0
+
+tar_bz2_archive = $(SRC_PACKAGE_PATH)/GNU/gcc/gcc-$(version)/gcc-$(version).tar.bz2
+SRC_ARCHIVE = $(tar_bz2_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/gcc-$(version)
+src_dir_name = gcc-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source-done
+
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+PATCHES = PATCHES.x86_64
+else
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
+PATCHES = PATCHES.aarch64
+else
+PATCHES = PATCHES
+endif
+endif
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+GCC_DEV_PKG_NAME = gcc
+GCC_DEV_PKG_VERSION = 5.4.0
+GCC_DEV_PKG_ARCH = $(TOOLCHAIN)
+GCC_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
+GCC_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+GCC_DEV_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+GCC_DEV_PKG_SHORT_DESCRIPTION = GNU Compiler Collection
+GCC_DEV_PKG_URL = $(BUG_URL)
+GCC_DEV_PKG_LICENSE = GPLv2
+GCC_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(GCC_DEV_PKG_NAME)-pkg-description
+GCC_DEV_PKG_DESCRIPTION_FILE_IN = $(GCC_DEV_PKG_NAME)-pkg-description.in
+GCC_DEV_PKG_INSTALL_SCRIPT = $(GCC_DEV_PKG_NAME)-pkg-install.sh
+
+GCC_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(GCC_DEV_PKG_NAME)-package
+
+pkg_basename = $(GCC_DEV_PKG_NAME)-$(GCC_DEV_PKG_VERSION)-$(GCC_DEV_PKG_ARCH)-$(GCC_DEV_PKG_DISTRO_NAME)-$(GCC_DEV_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+# NOTE: BUILD_MULTILIB_SUFFIX related to bulld machine
+# (slacware64 - lib; ununtu64 - lib32) see $(BUILDSYSTEM)/targets.mk
+export CC_FOR_BUILD = gcc
+export CXX_FOR_BUILD = g++
+export LD_FOR_BUILD = ld
+export AR_FOR_BUILD = ar
+export AS_FOR_BUILD = as
+export NM_FOR_BUILD = nm
+export CFLAGS_FOR_BUILD = -I/usr/include
+export CXXFLAGS_FOR_BUILD = -I/usr/include
+export CPPFLAGS_FOR_BUILD = -I/usr/include
+export LDFLAGS_FOR_BUILD = -L/usr/lib$(BUILD_MULTILIB_SUFFIX)
+
+export GNATBIND = $(TOOLCHAIN_PATH)/bin/$(TARGET)-gnatbind
+export GNATLINK = $(TOOLCHAIN_PATH)/bin/$(TARGET)-gnatlink
+export GNATMAKE = $(TOOLCHAIN_PATH)/bin/$(TARGET)-gnatmake
+#
+# Do not use CCACHE for Ada/tools:
+#
+export GCC_FOR_GNAT = $(TOOLCHAIN_PATH)/bin/$(TARGET)-gcc --sysroot=$(TARGET_DEST_DIR)
+export GCC_LINK_FOR_GNAT = $(TOOLCHAIN_PATH)/bin/$(TARGET)-g++ --sysroot=$(TARGET_DEST_DIR)
+
+
+env_sysroot = DESTDIR=$(GCC_DEV_PKG)
+
+
+extra_configure_switches += --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches += --datadir=/usr/share
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --docdir=/usr/share/doc
+
+extra_configure_switches += --enable-languages=c,c++,objc,obj-c++,fortran,go,lto,ada
+extra_configure_switches += --enable-libstdcxx-dual-abi
+extra_configure_switches += --with-default-libstdcxx-abi=gcc4-compatible
+extra_configure_switches += --enable-__cxa_atexit
+extra_configure_switches += --enable-install-libiberty
+extra_configure_switches += --enable-shared
+extra_configure_switches += --enable-threads=posix
+extra_configure_switches += --enable-lto
+extra_configure_switches += --enable-c99
+extra_configure_switches += --enable-long-long
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
+extra_configure_switches += --with-system-libunwind
+else
+extra_configure_switches += --disable-libunwind-exceptions
+endif
+
+extra_configure_switches += --with-system-zlib
+extra_configure_switches += --with-mpc=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-mpfr=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-gmp=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-isl=$(TARGET_DEST_DIR)/usr
+
+# Python 2.7 (The location to install Python modules. This path should NOT include the prefix):
+extra_configure_switches += --with-python-dir=/lib$(LIBSUFFIX)/python2.7/site-packages
+
+#
+# for target libgo:
+#
+extra_configure_switches += --enable-werror=no
+
+extra_configure_switches += --with-gnu-ld
+extra_configure_switches += --with-gnu-as
+
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a8
+extra_configure_switches += --with-fpu=neon
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv7ve
+extra_configure_switches += --with-tune=cortex-a7
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv7ve
+extra_configure_switches += --with-tune=cortex-a17
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a5
+extra_configure_switches += --with-fpu=neon
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-cpu=cortex-a53
+extra_configure_switches += --with-abi=lp64
+extra_configure_switches += --enable-fix-cortex-a53-835769
+extra_configure_switches += --enable-fix-cortex-a53-843419
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a9
+extra_configure_switches += --with-fpu=vfpv3
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a15
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch-32=mips32r2
+extra_configure_switches += --with-arch-64=mips64r2
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-mips-plt
+extra_configure_switches += --enable-target-optspace
+extra_configure_switches += --enable-symvers=gnu
+extra_configure_switches += --enable-__cxa_atexit
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=mips32r5
+extra_configure_switches += --with-tune=p5600
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-mips-plt
+extra_configure_switches += --enable-target-optspace
+extra_configure_switches += --enable-symvers=gnu
+extra_configure_switches += --enable-__cxa_atexit
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=i686
+extra_configure_switches += --with-tune=i686
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-multilib-list=m64,m32
+endif
+
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && \
+ $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ --target=$(TARGET) \
+ $(extra_configure_switches)
+ $(BUILD_ENVIRONMENT) $(MAKE) -C $(build_dir) all
+ $(BUILD_ENVIRONMENT) $(MAKE) -C $(build_dir) info
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(GCC_DEV_PKG)
+ $(BUILD_ENVIRONMENT) $(MAKE) -C $(build_dir) -j1 install $(env_sysroot)
+ $(BUILD_ENVIRONMENT) $(MAKE) -C $(build_dir) -j1 install-info $(env_sysroot)
+ @chmod 755 $(GCC_DEV_PKG)/usr/lib$(LIBSUFFIX)/libgcc_s.so.1
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+ @chmod 755 $(GCC_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libgcc_s.so.1
+endif
+ @rm -f $(GCC_DEV_PKG)/usr/lib$(LIBSUFFIX)/*gdb.py
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+ @rm -f $(GCC_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/*gdb.py
+endif
+ # ====== Create cpp symbolic link in the '/lib' directory without LIBSUFFIX =======
+ @( cd $(GCC_DEV_PKG) ; \
+ mkdir -p lib ; \
+ cd lib ; \
+ ln -sf ../usr/bin/cpp . \
+ )
+ # ======= Additional copy of libiberty.h to simplify autotool procedures =======
+ @mkdir -p $(GCC_DEV_PKG)/usr/include
+ @cp -a $(SRC_DIR)/include/libiberty.h $(GCC_DEV_PKG)/usr/include
+ # ======= Install Documentation =======
+ @cp -a $(build_dir)/libiberty/libiberty.info $(GCC_DEV_PKG)/usr/share/info
+ @cp -a $(build_dir)/gcc/specs $(GCC_DEV_PKG)/usr/lib$(LIBSUFFIX)/gcc/$(TARGET)/$(version)
+ @rm -f $(GCC_DEV_PKG)/usr/share/info/dir
+ # ======= Remove info for gmp, libffi, mpc, mpfr =======
+ @rm -f $(GCC_DEV_PKG)/usr/share/info/{gmp,libffi,mpc,mpfr}.*
+ @gzip -9 $(GCC_DEV_PKG)/usr/share/info/*
+ @if [ -d $(GCC_DEV_PKG)/usr/share/man ]; then \
+ ( cd $(GCC_DEV_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @( cd $(GCC_DEV_PKG)/usr/share/man/man1 ; \
+ ln -sf g++.1.gz c++.1.gz ; \
+ ln -sf gcc.1.gz cc.1.gz \
+ )
+ @( cd $(GCC_DEV_PKG)/usr/bin ; \
+ mv g++ g++-$(version) ; \
+ ln -sf g++-$(version) g++ ; \
+ rm -f c++ ; \
+ ln -sf g++ c++ ; \
+ mv gcc gcc-$(version) ; \
+ ln -sf gcc-$(version) gcc ; \
+ ln -sf gcc cc ; \
+ rm -f $(TARGET)-* ; \
+ ln -sf g++-$(version) $(TARGET)-c++ ; \
+ ln -sf g++-$(version) $(TARGET)-g++ ; \
+ ln -sf gcc-$(version) $(TARGET)-gcc ; \
+ ln -sf gcc-$(version) $(TARGET)-gcc-$(version) ; \
+ ln -sf gcc-ar $(TARGET)-gcc-ar ; \
+ ln -sf gcc-nm $(TARGET)-gcc-nm ; \
+ ln -sf gcc-ranlib $(TARGET)-gcc-ranlib ; \
+ ln -sf gccgo $(TARGET)-gccgo ; \
+ mv gfortran gfortran-gcc-$(version) ; \
+ ln -sf gfortran-gcc-$(version) gfortran ; \
+ ln -sf gfortran-gcc-$(version) $(TARGET)-gfortran ; \
+ ln -sf gfortran-gcc-$(version) $(TARGET)-gfortran-$(version) ; \
+ ln -sf gfortran-gcc-$(version) $(TARGET)-g77 ; \
+ ln -sf gfortran-gcc-$(version) $(TARGET)-g95 ; \
+ )
+ @chmod a+x $(GCC_DEV_PKG)/usr/lib$(LIBSUFFIX)/lib*.la
+ @mkdir -p $(GCC_DEV_PKG)/usr/doc/$(src_dir_name)
+ @cp -a $(SRC_DIR)/COPYING* \
+ $(GCC_DEV_PKG)/usr/doc/$(src_dir_name)
+ @mkdir -p $(GCC_DEV_PKG)/usr/share/doc/$(src_dir_name)
+ @cp -a $(SRC_DIR)/COPYING* $(SRC_DIR)/MAI* $(SRC_DIR)/NEWS $(SRC_DIR)/README \
+ $(GCC_DEV_PKG)/usr/share/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ if [ -r ChangeLog ]; then \
+ DOCSDIR=`echo $(GCC_DEV_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ # ======= remove target destination path from target libtool *.la files =======
+ @( cd $(GCC_DEV_PKG)/usr/libexec/gcc/$(TARGET)/$(version) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" liblto_plugin.la \
+ )
+ # ======= remove toolchain path from target libtool *.la files =======
+ @( cd $(GCC_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
+ for lib in asan cilkrts lsan tsan ubsan vtv ; do \
+ if [ -f lib$$lib.la ] ; then \
+ sed -i "s,$(TOOLCHAIN_PATH)/$(TARGET),/usr,g" lib$$lib.la ; \
+ fi ; \
+ done \
+ )
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+ @( cd $(GCC_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ for lib in asan cilkrts lsan tsan ubsan vtv ; do \
+ if [ -f lib$$lib.la ] ; then \
+ sed -i "s,$(TOOLCHAIN_PATH)/$(TARGET),/usr,g" lib$$lib.la ; \
+ fi ; \
+ done \
+ )
+endif
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ @if [ -d $(TARGET_DEST_DIR)/usr/libexec/gcc ] ; then \
+ rm -rf $(TARGET_DEST_DIR)/usr/libexec/gcc ; \
+ fi
+ @if [ -d $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/gcc ] ; then \
+ rm -rf $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/gcc ; \
+ fi
+ @if [ -d $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/go/$(version) ] ; then \
+ rm -rf $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/go/$(version) ; \
+ fi
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+ @if [ -d $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/go/$(version) ] ; then \
+ rm -rf $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/go/$(version) ; \
+ fi
+endif
+ $(call install-into-devenv, $(GCC_DEV_PKG))
+ # ======= tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/libexec/gcc/$(TARGET)/$(version) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" liblto_plugin.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" liblto_plugin.la \
+ )
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/gcc/$(TARGET)/$(version) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libcaf_single.la ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libgfortranbegin.la \
+ )
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/gcc/$(TARGET)/$(version)/$(MULTILIB_X86_32_SUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libcaf_single.la ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libgfortranbegin.la \
+ )
+endif
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
+ for lib in asan atomic cilkrts gfortran go gomp gomp-plugin-host_nonshm itm lsan objc \
+ quadmath mudflap mudflapth ssp ssp_nonshared stdc++ stdc++fs supc++ tsan ubsan vtv ; do \
+ if [ -f lib$$lib.la ] ; then \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" lib$$lib.la ; \
+ fi ; \
+ done \
+ )
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ for lib in asan atomic cilkrts gfortran go gomp gomp-plugin-host_nonshm itm lsan objc \
+ quadmath mudflap mudflapth ssp ssp_nonshared stdc++ stdc++fs supc++ tsan ubsan vtv ; do \
+ if [ -f lib$$lib.la ] ; then \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" lib$$lib.la ; \
+ fi ; \
+ done \
+ )
+endif
+ # ======= Strip binaries =======
+ @( cd $(GCC_DEV_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null \
+ )
+ifneq ($(CHRPATH),)
+ # ======= Set RPATH/RUNPATH for target shared objects =======
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+ @( cd $(GCC_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
+ target_rpath="/lib/../lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)" ; \
+ for file in `find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(CHRPATH) -l $$file 2> /dev/null | grep "R*PATH"` ; \
+ if echo "$$rpath" | grep -q "$(TOOLCHAIN_PATH)" ; then \
+ $(CHRPATH) -r $${target_rpath} $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+ @( cd $(GCC_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ target_rpath="/lib/../lib$(MULTILIB_X86_32_SUFFIX):/usr/lib/../lib$(MULTILIB_X86_32_SUFFIX)" ; \
+ for file in `find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(CHRPATH) -l $$file 2> /dev/null | grep "R*PATH"` ; \
+ if echo "$$rpath" | grep -q "$(TOOLCHAIN_PATH)" ; then \
+ $(CHRPATH) -r $${target_rpath} $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+else
+ @( cd $(GCC_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
+ target_rpath="/lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)" ; \
+ for file in `find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(CHRPATH) -l $$file 2> /dev/null | grep "R*PATH"` ; \
+ if echo "$$rpath" | grep -q "$(TOOLCHAIN_PATH)" ; then \
+ $(CHRPATH) -r $${target_rpath} $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+endif
+endif
+ @touch $@
+
+$(GCC_DEV_PKG_DESCRIPTION_FILE): $(GCC_DEV_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(GCC_DEV_PKG_DESCRIPTION_FILE) $(GCC_DEV_PKG_INSTALL_SCRIPT)
+ @cp $(GCC_DEV_PKG_DESCRIPTION_FILE) $(GCC_DEV_PKG)/.DESCRIPTION
+ @cp $(GCC_DEV_PKG_INSTALL_SCRIPT) $(GCC_DEV_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(GCC_DEV_PKG)/.REQUIRES
+ @echo "pkgname=$(GCC_DEV_PKG_NAME)" > $(GCC_DEV_PKG)/.PKGINFO ; \
+ echo "pkgver=$(GCC_DEV_PKG_VERSION)" >> $(GCC_DEV_PKG)/.PKGINFO ; \
+ echo "arch=$(GCC_DEV_PKG_ARCH)" >> $(GCC_DEV_PKG)/.PKGINFO ; \
+ echo "distroname=$(GCC_DEV_PKG_DISTRO_NAME)" >> $(GCC_DEV_PKG)/.PKGINFO ; \
+ echo "distrover=$(GCC_DEV_PKG_DISTRO_VERSION)" >> $(GCC_DEV_PKG)/.PKGINFO ; \
+ echo "group=$(GCC_DEV_PKG_GROUP)" >> $(GCC_DEV_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(GCC_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(GCC_DEV_PKG)/.PKGINFO ; \
+ echo "url=$(GCC_DEV_PKG_URL)" >> $(GCC_DEV_PKG)/.PKGINFO ; \
+ echo "license=$(GCC_DEV_PKG_LICENSE)" >> $(GCC_DEV_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(GCC_DEV_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: gcc/5.4.0/PATCHES
===================================================================
--- gcc/5.4.0/PATCHES (nonexistent)
+++ gcc/5.4.0/PATCHES (revision 671)
@@ -0,0 +1,7 @@
+
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-backtrace.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-libgo.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-i386-66782.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-fixinc-gmp-outside.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-build-libcpp.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-ccache-ada.patch -p0
Index: gcc/5.4.0/PATCHES.aarch64
===================================================================
--- gcc/5.4.0/PATCHES.aarch64 (nonexistent)
+++ gcc/5.4.0/PATCHES.aarch64 (revision 671)
@@ -0,0 +1,9 @@
+
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-backtrace.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-libgo.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-i386-66782.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-fixinc-gmp-outside.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-build-libcpp.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-ccache-ada.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-aarch64-multilib.patch -p0
+
Index: gcc/5.4.0/PATCHES.x86_64
===================================================================
--- gcc/5.4.0/PATCHES.x86_64 (nonexistent)
+++ gcc/5.4.0/PATCHES.x86_64 (revision 671)
@@ -0,0 +1,9 @@
+
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-backtrace.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-libgo.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-i386-66782.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-fixinc-gmp-outside.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-build-libcpp.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-ccache-ada.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-x86_64-multilib.patch -p0
+
Index: gcc/5.4.0/gcc-pkg-description.in
===================================================================
--- gcc/5.4.0/gcc-pkg-description.in (nonexistent)
+++ gcc/5.4.0/gcc-pkg-description.in (revision 671)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+gcc: GCC @VERSION@ (GNU Compiler Collection)
+gcc:
+gcc: This package contains parts of the compiler collection needed
+gcc: to compile C, C++, Objective-C/C++, Fortran, Ada and Go code.
+gcc:
+gcc: Java compiler is not included into this colection due to
+gcc: dependencies such as gtk+2 library which can requires X11.
+gcc: In order to have C compiler on the small system, GNU Compiler
+gcc: Collection should be split at least into two packages
+gcc: gcc-5.3.0 and gcc-java-5.3.0 .
+gcc:
Index: gcc/5.4.0/gcc-pkg-install.sh
===================================================================
--- gcc/5.4.0/gcc-pkg-install.sh (nonexistent)
+++ gcc/5.4.0/gcc-pkg-install.sh (revision 671)
@@ -0,0 +1,118 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ #
+ # NOTE:
+ # 'install-info' can work using relative paths and we can make use build machine
+ # utility during installation to the some partition and use target 'install-info'
+ # during installation directly on the running target machine.
+ #
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --info-dir=usr/share/info usr/share/info/cpp.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/cppinternals.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/gcc.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/gccgo.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/gccinstall.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/gccint.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/gfortran.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/gnat-style.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/gnat_rm.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/gnat_ugn.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/libgomp.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/libiberty.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/libitm.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/libquadmath.info.gz 2>/dev/null
+ elif ! grep "(gcc)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> usr/share/info/dir
+
+GNU Ada Tools
+* gnat_rm: (gnat_rm.info). gnat_rm
+* gnat_ugn: (gnat_ugn.info). gnat_ugn
+
+GNU Libraries
+* libgomp: (libgomp). GNU Offloading and Multi Processing Runtime
+ Library.
+* libitm: (libitm). GNU Transactional Memory Library
+* libquadmath: (libquadmath). GCC Quad-Precision Math Library
+* Libiberty: (libiberty). Library of utility functions which
+ are missing or broken on some systems.
+
+Software development
+* Cpp: (cpp). The GNU C preprocessor.
+* Cpplib: (cppinternals). Cpplib internals.
+* Gccgo: (gccgo). A GCC-based compiler for the Go language
+* g++: (gcc). The GNU C++ compiler.
+* gcc: (gcc). The GNU Compiler Collection.
+* gccinstall: (gccinstall). Installing the GNU Compiler Collection.
+* gccint: (gccint). Internals of the GNU Compiler Collection.
+* gcov: (gcc) Gcov. `gcov'--a test coverage program.
+* gcov-tool: (gcc) Gcov-tool. `gcov-tool'--an offline gcda profile
+ processing program.
+* gfortran: (gfortran). The GNU Fortran Compiler.
+* gnat-style: (gnat-style). GNAT Coding Style
+EOF
+ fi
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --delete --info-file=usr/share/info/cpp.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/cppinternals.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/gcc.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/gccgo.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/gccinstall.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/gccint.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/gfortran.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/gnat-style.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/gnat_rm.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/gnat_ugn.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/libgomp.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/libiberty.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/libitm.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/libquadmath.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ fi
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: gcc/5.4.0/gcc-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: gcc-java/5.4.0/Makefile
===================================================================
--- gcc-java/5.4.0/Makefile (nonexistent)
+++ gcc-java/5.4.0/Makefile (revision 671)
@@ -0,0 +1,619 @@
+
+COMPONENT_TARGETS = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BT1)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNU/gcc/gcc-5.4.0
+SOURCE_REQUIRES += sources/packages/j/antlr-runtime
+SOURCE_REQUIRES += sources/packages/j/ecj
+
+
+REQUIRES = dev/gcc/5.4.0
+REQUIRES += libs/libart-lgpl/2.3.21
+REQUIRES += app/fastjar/0.98
+REQUIRES += libs/alsa-lib/1.1.1
+REQUIRES += X11/X.org/lib/libXtst/1.2.2
+REQUIRES += X11/libs/gtk+2/2.24.25
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 5.4.0
+
+antlr_version = 3.5.2
+ecj_version = 4.9
+jversion = 16
+
+tar_bz2_archive = $(SRC_PACKAGE_PATH)/GNU/gcc/gcc-$(version)/gcc-$(version).tar.bz2
+jar_archive_antlr = $(SRC_PACKAGE_PATH)/packages/j/antlr-runtime/antlr-runtime-$(antlr_version).jar
+jar_archive_ecj = $(SRC_PACKAGE_PATH)/packages/j/ecj/ecj-$(ecj_version).jar
+SRC_ARCHIVE = $(tar_bz2_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/gcc-$(version)
+src_dir_name = gcc-$(version)
+doc_dir_name = gcc-java-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source-done
+antlr_src_done = $(TARGET_BUILD_DIR)/.antlr-source-done
+ecj_src_done = $(TARGET_BUILD_DIR)/.ecj-source-done
+
+ANTLR_RUNTIME_JAR = $(CURDIR)/$(SRC_DIR)/antlr-runtime-$(antlr_version).jar
+ECJ_JAR = $(CURDIR)/$(SRC_DIR)/ecj-$(ecj_version).jar
+
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+PATCHES = PATCHES.x86_64
+else
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
+PATCHES = PATCHES.aarch64
+else
+PATCHES = PATCHES
+endif
+endif
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+GCJ_DEV_PKG_NAME = gcc-java
+GCJ_DEV_PKG_VERSION = 5.4.0
+GCJ_DEV_PKG_ARCH = $(TOOLCHAIN)
+GCJ_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
+GCJ_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+GCJ_DEV_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+GCJ_DEV_PKG_SHORT_DESCRIPTION = GNU Compiler Collection
+GCJ_DEV_PKG_URL = $(BUG_URL)
+GCJ_DEV_PKG_LICENSE = GPLv2
+GCJ_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(GCJ_DEV_PKG_NAME)-pkg-description
+GCJ_DEV_PKG_DESCRIPTION_FILE_IN = $(GCJ_DEV_PKG_NAME)-pkg-description.in
+GCJ_DEV_PKG_INSTALL_SCRIPT = $(GCJ_DEV_PKG_NAME)-pkg-install.sh
+
+GCJ_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(GCJ_DEV_PKG_NAME)-package
+
+pkg_basename = $(GCJ_DEV_PKG_NAME)-$(GCJ_DEV_PKG_VERSION)-$(GCJ_DEV_PKG_ARCH)-$(GCJ_DEV_PKG_DISTRO_NAME)-$(GCJ_DEV_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+#
+# NOTE: BUILD_MULTILIB_SUFFIX related to bulld machine
+# (slacware64 - lib; ununtu64 - lib32) see $(BUILDSYSTEM)/targets.mk
+#
+export CC_FOR_BUILD = gcc
+export CXX_FOR_BUILD = g++
+export GCJ_FOR_BUILD = gcj
+export LD_FOR_BUILD = ld
+export AR_FOR_BUILD = ar
+export AS_FOR_BUILD = as
+export NM_FOR_BUILD = nm
+export CFLAGS_FOR_BUILD = -I/usr/include
+export CXXFLAGS_FOR_BUILD = -I/usr/include
+export CPPFLAGS_FOR_BUILD = -I/usr/include
+export LDFLAGS_FOR_BUILD = -L/usr/lib$(BUILD_MULTILIB_SUFFIX)
+
+export GNATBIND = $(TOOLCHAIN_PATH)/bin/$(TARGET)-gnatbind
+export GNATLINK = $(TOOLCHAIN_PATH)/bin/$(TARGET)-gnatlink
+export GNATMAKE = $(TOOLCHAIN_PATH)/bin/$(TARGET)-gnatmake
+#
+# Do not use CCACHE for Ada/tools:
+#
+export GCC_FOR_GNAT = $(TOOLCHAIN_PATH)/bin/$(TARGET)-gcc --sysroot=$(TARGET_DEST_DIR)
+export GCC_LINK_FOR_GNAT = $(TOOLCHAIN_PATH)/bin/$(TARGET)-g++ --sysroot=$(TARGET_DEST_DIR)
+
+export GCJ = $(TOOLCHAIN_PATH)/bin/$(TARGET)-gcj --sysroot=$(TARGET_DEST_DIR)
+
+env_sysroot = DESTDIR=$(GCJ_DEV_PKG)
+
+
+extra_configure_switches += --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches += --datadir=/usr/share
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --docdir=/usr/share/doc
+
+extra_configure_switches += --enable-languages=c,c++,java,lto
+extra_configure_switches += --enable-libstdcxx-dual-abi
+extra_configure_switches += --with-default-libstdcxx-abi=gcc4-compatible
+extra_configure_switches += --enable-__cxa_atexit
+extra_configure_switches += --enable-install-libiberty
+extra_configure_switches += --enable-shared
+extra_configure_switches += --enable-threads=posix
+extra_configure_switches += --enable-lto
+extra_configure_switches += --enable-c99
+extra_configure_switches += --enable-long-long
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
+extra_configure_switches += --with-system-libunwind
+else
+extra_configure_switches += --disable-libunwind-exceptions
+endif
+
+extra_configure_switches += --with-system-zlib
+extra_configure_switches += --with-mpc=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-mpfr=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-gmp=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-isl=$(TARGET_DEST_DIR)/usr
+
+PYTHON_VERSION = 2.7
+
+# Python 2.7 (The location to install Python modules. This path should NOT include the prefix):
+extra_configure_switches += --with-python-dir=/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages
+
+#
+# for target libgo:
+#
+extra_configure_switches += --enable-werror=no
+
+extra_configure_switches += --with-gnu-ld
+extra_configure_switches += --with-gnu-as
+
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC))
+JAVA_LIB_ARCH = armv7a
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a8
+extra_configure_switches += --with-fpu=neon
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC))
+JAVA_LIB_ARCH = armv7ve
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv7ve
+extra_configure_switches += --with-tune=cortex-a7
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC))
+JAVA_LIB_ARCH = armv7ve
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv7ve
+extra_configure_switches += --with-tune=cortex-a17
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC))
+JAVA_LIB_ARCH = armv7a
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a5
+extra_configure_switches += --with-fpu=neon
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-cpu=cortex-a53
+extra_configure_switches += --with-abi=lp64
+extra_configure_switches += --enable-fix-cortex-a53-835769
+extra_configure_switches += --enable-fix-cortex-a53-843419
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC))
+JAVA_LIB_ARCH = armv7a
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a9
+extra_configure_switches += --with-fpu=vfpv3
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC))
+JAVA_LIB_ARCH = armv7a
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a15
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
+JAVA_LIB_ARCH = mips32r2
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch-32=mips32r2
+extra_configure_switches += --with-arch-64=mips64r2
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-mips-plt
+extra_configure_switches += --enable-target-optspace
+extra_configure_switches += --enable-symvers=gnu
+extra_configure_switches += --enable-__cxa_atexit
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
+JAVA_LIB_ARCH = mips32r5
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=mips32r5
+extra_configure_switches += --with-tune=p5600
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --with-mips-plt
+extra_configure_switches += --enable-target-optspace
+extra_configure_switches += --enable-symvers=gnu
+extra_configure_switches += --enable-__cxa_atexit
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC))
+JAVA_LIB_ARCH = i386
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=i686
+extra_configure_switches += --with-tune=i686
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+JAVA_LIB_ARCH = amd64
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --enable-multilib=no
+endif
+
+#
+# java:
+#
+extra_configure_switches += --enable-java-home
+extra_configure_switches += --with-java-home=/usr/lib$(LIBSUFFIX)/jvm/jre
+extra_configure_switches += --with-jvm-root-dir=/usr/lib$(LIBSUFFIX)/jvm
+extra_configure_switches += --with-jvm-jar-dir=/usr/lib$(LIBSUFFIX)/jvm/jvm-exports
+extra_configure_switches += --with-arch-directory=$(JAVA_LIB_ARCH)
+extra_configure_switches += --with-antlr-jar=$(ANTLR_RUNTIME_JAR)
+extra_configure_switches += --with-ecj-jar=$(ECJ_JAR)
+extra_configure_switches += --enable-java-awt=gtk
+
+extra_configure_switches += --x-includes=$(TARGET_DEST_DIR)/usr/include
+extra_configure_switches += --x-libraries=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)
+
+
+extra_environment = GCJ='$(TOOLCHAIN_PATH)/bin/$(TARGET)-gcj --sysroot=$(TARGET_DEST_DIR)'
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(antlr_src_done): $(src_done)
+ @echo "Copy $(jar_archive_antlr)"
+ @cp $(jar_archive_antlr) $(SRC_DIR)
+ @touch $@
+
+$(ecj_src_done): $(src_done)
+ @echo "Copy $(jar_archive_ecj)"
+ @cp $(jar_archive_ecj) $(SRC_DIR)
+ @touch $@
+
+$(build_target): $(antlr_src_done) $(ecj_src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && \
+ $(BUILD_ENVIRONMENT) $(extra_environment) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ --target=$(TARGET) \
+ $(extra_configure_switches)
+ # ======= Core Makefile passes DevEnv variables to libjava/configure =======
+ # ======= script not correct and we need to configure libjava for =======
+ # ======= target system before building GCJ. =======
+ @( cd $(build_dir) ; \
+ mkdir -p $(TARGET)/libjava ; \
+ echo "ac_cv_lib_Xtst_XTestQueryExtension=yes" \
+ > $(TARGET)/libjava/config.cache ; \
+ )
+ @( cd $(build_dir)/$(TARGET)/libjava; \
+ $(BUILD_ENVIRONMENT) $(extra_environment) ../../../$(src_dir_name)/libjava/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ --target=$(TARGET) \
+ $(extra_configure_switches) ; \
+ )
+ $(BUILD_ENVIRONMENT) $(extra_environment) $(MAKE) -C $(build_dir) all
+ $(BUILD_ENVIRONMENT) $(extra_environment) $(MAKE) -C $(build_dir) info
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(GCJ_DEV_PKG)
+ $(BUILD_ENVIRONMENT) $(extra_environment) $(MAKE) -C $(build_dir) -j1 install $(env_sysroot)
+ $(BUILD_ENVIRONMENT) $(extra_environment) $(MAKE) -C $(build_dir) -j1 install-info $(env_sysroot)
+ @cp -a $(SRC_DIR)/ecj-$(ecj_version).jar $(GCJ_DEV_PKG)/usr/share/java/ecj-$(ecj_version).jar
+ @( cd $(GCJ_DEV_PKG)/usr/share/java ; \
+ ln -sf ecj-$(ecj_version).jar ecj.jar ; \
+ )
+ # ======= remove unneeded stuff =======
+ @( cd $(GCJ_DEV_PKG)/usr/bin ; \
+ rm -f cpp *++ *gcc *gcc-* *gcov *gcov-* ; \
+ for file in aot-compile gappletviewer gc-analyze gcj \
+ gcj-dbtool gcjh gij gjar gjarsigner gjavah \
+ gjdoc gkeytool gnative2ascii gorbd grmic grmid \
+ grmiregistry gserialver gtnameserv jv-convert \
+ rebuild-gcj-db ; do \
+ mv $(TARGET)-$$file $$file ; \
+ ln -sf $$file $(TARGET)-$$file ; \
+ done ; \
+ )
+ # ======= in usr/include =======
+ @( cd $(GCJ_DEV_PKG)/usr/include ; \
+ rm -rf libiberty ; \
+ )
+ @( cd $(GCJ_DEV_PKG)/usr/include/c++/$(version) ; \
+ for dir in backward bits debug decimal experimental \
+ ext parallel profile tr1 tr2 $(TARGET) ; do \
+ rm -rf $$dir ; \
+ done ; \
+ )
+ @( cd $(GCJ_DEV_PKG)/usr/include/c++/$(version) ; \
+ for file in `find . -type f -maxdepth 1` ; do \
+ rm -f $$file ; \
+ done ; \
+ )
+ # ======= in usr/libexec =======
+ @( cd $(GCJ_DEV_PKG)/usr/libexec/gcc/$(TARGET)/$(version) ; \
+ for dir in install-tools plugin ; do \
+ rm -rf $$dir ; \
+ done ; \
+ for file in c* l* ; do \
+ rm -f $$file ; \
+ done ; \
+ )
+ # ======= in usr/lib =======
+ @( cd $(GCJ_DEV_PKG)/usr/lib/gcc/$(TARGET)/$(version) ; \
+ for dir in finclude include-fixed install-tools plugin ; do \
+ rm -rf $$dir ; \
+ done ; \
+ for file in *.{a,o} ; do \
+ rm -f $$file ; \
+ done ; \
+ )
+ @( cd $(GCJ_DEV_PKG)/usr/lib/gcc/$(TARGET)/$(version)/include ; \
+ for dir in sanitizer ssp ; do \
+ rm -rf $$dir ; \
+ done ; \
+ for file in `find . -type f -name "*.h" ! -name "j*.h" -maxdepth 1` ; do \
+ rm -f $$file ; \
+ done ; \
+ )
+ @( cd $(GCJ_DEV_PKG)/usr/lib ; \
+ if [ -d ./python$(PYTHON_VERSION)/site-packages/libstdcxx ] ; then \
+ rm -rf ./python$(PYTHON_VERSION)/site-packages/libstdcxx ; \
+ fi ; \
+ )
+ @( cd $(GCJ_DEV_PKG)/usr/lib ; \
+ rm -f libasan* libatomic* libcilkrts* libgcc* libgomp* libiberty* libitm* \
+ liblsan* libquadmath* libssp* libstdc* libsupc* libtsan* libubsan* libvtv* ; \
+ )
+ # ======= in usr/share =======
+ @( cd $(GCJ_DEV_PKG)/usr/share ; \
+ for dir in locale man/man7 ; do \
+ rm -rf $$dir ; \
+ done ; \
+ )
+ @( cd $(GCJ_DEV_PKG)/usr/share/info ; \
+ for file in c* l* d* gcc* ; do \
+ rm -f $$file ; \
+ done ; \
+ )
+ @( cd $(GCJ_DEV_PKG)/usr/share/man/man1 ; \
+ for file in cpp* gcc* *++* ; do \
+ rm -f $$file ; \
+ done ; \
+ for file in gappletviewer gcjh gjar gjarsigner gjavah gjdoc gkeytool \
+ gnative2ascii gorbd grmid grmiregistry gserialver gtnameserv ; do \
+ mv $(TARGET)-$${file}.1 $${file}.1 ; \
+ ln -sf $${file}.1 $(TARGET)-$${file}.1 ; \
+ done ; \
+ )
+ # ======= check jvm invlude files symlinks =======
+ @( cd $(GCJ_DEV_PKG)/usr/lib$(LIBSUFFIX)/jvm/include ; \
+ rm -f jawt.h ; ln -sf ../../gcc/$(TARGET)/$(version)/include/jawt.h jawt.h ; \
+ rm -f jni.h ; ln -sf ../../gcc/$(TARGET)/$(version)/include/jni.h jni.h ; \
+ )
+ @( cd $(GCJ_DEV_PKG)/usr/lib$(LIBSUFFIX)/jvm/include/linux ; \
+ rm -f jawt_md.h ; ln -sf ../../../gcc/$(TARGET)/$(version)/include/jawt_md.h jawt_md.h ; \
+ rm -f jni_md.h ; ln -sf ../../../gcc/$(TARGET)/$(version)/include/jni_md.h jni_md.h ; \
+ )
+ # ======= Install ecj wrapper script =======
+ @cat $(CURDIR)/scripts/ecj.sh | sed -e "s,@JAVADIR@,/usr/share/java," > $(GCJ_DEV_PKG)/usr/bin/ecj
+ @chmod 755 $(GCJ_DEV_PKG)/usr/bin/ecj
+ # ======= and add the missing javac symlink =======
+ @( cd $(GCJ_DEV_PKG)/usr/lib$(LIBSUFFIX)/jvm/bin ; \
+ ln -sf ../../../bin/ecj javac ; \
+ )
+ # ======= Install Documentation =======
+ @rm -f $(GCJ_DEV_PKG)/usr/share/info/dir
+ @gzip -9 $(GCJ_DEV_PKG)/usr/share/info/*
+ @if [ -d $(GCJ_DEV_PKG)/usr/share/man ]; then \
+ ( cd $(GCJ_DEV_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(GCJ_DEV_PKG)/usr/doc/$(doc_dir_name)
+ @cp -a $(SRC_DIR)/COPYING* \
+ $(GCJ_DEV_PKG)/usr/doc/$(doc_dir_name)
+ @mkdir -p $(GCJ_DEV_PKG)/usr/share/doc/$(doc_dir_name)
+ @cp -a $(SRC_DIR)/COPYING* $(SRC_DIR)/MAI* $(SRC_DIR)/NEWS $(SRC_DIR)/README \
+ $(GCJ_DEV_PKG)/usr/share/doc/$(doc_dir_name)
+ @mkdir -p $(GCJ_DEV_PKG)/usr/share/doc/$(doc_dir_name)/libjava
+ @( cd $(SRC_DIR)/libjava ; \
+ cp -a COPYING ChangeLog LIBGCJ_LICENSE NEWS README \
+ $(GCJ_DEV_PKG)/usr/share/doc/$(doc_dir_name)/libjava ; \
+ )
+ @( cd $(SRC_DIR)/gcc/java ; \
+ if [ -r ChangeLog ]; then \
+ DOCSDIR=`echo $(GCJ_DEV_PKG)/usr/share/doc/$(doc_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ # ======= remove toolchain path from target libtool *.la files =======
+ifeq ($(filter $(HARDWARE),$(HARDWARE_PC32) \
+ $(HARDWARE_PC64) \
+ $(HARDWARE_CI20) \
+ $(HARDWARE_BT1)),)
+ @( cd $(GCJ_DEV_PKG)/usr/lib$(LIBSUFFIX)/gcj-$(version)-$(jversion) ; \
+ sed -i "s, '$(TOOLCHAIN_PATH)/$(TARGET)/lib$(LIBSUFFIX)'/libstdc++.la,,g" *.la ; \
+ )
+ @( cd $(GCJ_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s, '$(TOOLCHAIN_PATH)/$(TARGET)/lib$(LIBSUFFIX)'/libstdc++.la,,g" *.la ; \
+ )
+endif
+ @( cd $(GCJ_DEV_PKG)/usr/lib$(LIBSUFFIX)/gcj-$(version)-$(jversion) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libgjsmalsa.la libgtkpeer.la \
+ libjavamath.la libjawt.la \
+ libjvm.la ; \
+ sed -i "s,$(TOOLCHAIN_PATH)/$(TARGET),/usr,g" libjvm.la ; \
+ sed -i "s,-L[^[:space:]]*\.libs,-L/usr/lib$(LIBSUFFIX),g" *.la ; \
+ sed -i "s,-L[^[:space:]]*libjava,-L/usr/lib$(LIBSUFFIX)/gcj-$(version)-$(jversion),g" *.la ; \
+ )
+ @( cd $(GCJ_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libgcj-tools.la libgcj.la libgij.la ; \
+ sed -i "s,$(TOOLCHAIN_PATH)/$(TARGET),/usr,g" libgcj-tools.la libgcj.la libgij.la ; \
+ sed -i "s,-L[^[:space:]]*\.libs,-L/usr/lib$(LIBSUFFIX),g" *.la ; \
+ sed -i "s,-L[^[:space:]]*libjava,-L/usr/lib$(LIBSUFFIX)/gcj-$(version)-$(jversion),g" *.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(GCJ_DEV_PKG))
+ # ======= tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/gcj-$(version)-$(jversion) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libgjsmalsa.la libgtkpeer.la \
+ libjavamath.la libjawt.la \
+ libjvm.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libgjsmalsa.la libgtkpeer.la \
+ libjavamath.la libjawt.la \
+ libjvm.la ; \
+ )
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libgcj-tools.la libgcj.la libgij.la ; \
+ )
+ # ======= tune development pkg-config *.pc files =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/pkgconfig ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libgcj-?.pc ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(GCJ_DEV_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null \
+ )
+ifneq ($(CHRPATH),)
+ # ======= Set RPATH/RUNPATH for target shared objects =======
+ @( cd $(GCJ_DEV_PKG)/usr/bin ; \
+ for file in `find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(CHRPATH) -l $$file 2> /dev/null | grep "R*PATH"` ; \
+ if [ -n "$$rpath" ] ; then \
+ found=`echo "$$rpath" | grep "$(TOOLCHAIN_PATH)/$(TARGET)"` ; \
+ if [ -n "$$found" ] ; then \
+ target_rpath=`echo "$$rpath" | sed "s,\./.*PATH=,," | sed "s,$(TOOLCHAIN_PATH)/$(TARGET),,g"` ; \
+ $(CHRPATH) -r $${target_rpath} $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ fi ; \
+ done ; \
+ )
+ @( cd $(GCJ_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
+ for file in `find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(CHRPATH) -l $$file 2> /dev/null | grep "R*PATH"` ; \
+ if [ -n "$$rpath" ] ; then \
+ found_toolchain_path=`echo "$$rpath" | grep "$(TOOLCHAIN_PATH)/$(TARGET)"` ; \
+ found_target_dest_dir=`echo "$$rpath" | grep "$(TARGET_DEST_DIR)"` ; \
+ if [ -n "$${found_toolchain_path}" -o -n "$${found_target_dest_dir}" ] ; then \
+ target_rpath=`echo "$$rpath" | sed "s,\./.*PATH=,," \
+ | sed "s,$(TOOLCHAIN_PATH)/$(TARGET),/usr,g" \
+ | sed "s,$(TARGET_DEST_DIR),,g"` ; \
+ $(CHRPATH) -r $${target_rpath} $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ fi ; \
+ done ; \
+ )
+endif
+ @touch $@
+
+$(GCJ_DEV_PKG_DESCRIPTION_FILE): $(GCJ_DEV_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(GCJ_DEV_PKG_DESCRIPTION_FILE) $(GCJ_DEV_PKG_INSTALL_SCRIPT)
+ @cp $(GCJ_DEV_PKG_DESCRIPTION_FILE) $(GCJ_DEV_PKG)/.DESCRIPTION
+ @cp $(GCJ_DEV_PKG_INSTALL_SCRIPT) $(GCJ_DEV_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(GCJ_DEV_PKG)/.REQUIRES
+ @echo "pkgname=$(GCJ_DEV_PKG_NAME)" > $(GCJ_DEV_PKG)/.PKGINFO ; \
+ echo "pkgver=$(GCJ_DEV_PKG_VERSION)" >> $(GCJ_DEV_PKG)/.PKGINFO ; \
+ echo "arch=$(GCJ_DEV_PKG_ARCH)" >> $(GCJ_DEV_PKG)/.PKGINFO ; \
+ echo "distroname=$(GCJ_DEV_PKG_DISTRO_NAME)" >> $(GCJ_DEV_PKG)/.PKGINFO ; \
+ echo "distrover=$(GCJ_DEV_PKG_DISTRO_VERSION)" >> $(GCJ_DEV_PKG)/.PKGINFO ; \
+ echo "group=$(GCJ_DEV_PKG_GROUP)" >> $(GCJ_DEV_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(GCJ_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(GCJ_DEV_PKG)/.PKGINFO ; \
+ echo "url=$(GCJ_DEV_PKG_URL)" >> $(GCJ_DEV_PKG)/.PKGINFO ; \
+ echo "license=$(GCJ_DEV_PKG_LICENSE)" >> $(GCJ_DEV_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(GCJ_DEV_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: gcc-java/5.4.0/PATCHES
===================================================================
--- gcc-java/5.4.0/PATCHES (nonexistent)
+++ gcc-java/5.4.0/PATCHES (revision 671)
@@ -0,0 +1,8 @@
+
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-backtrace.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-libgo.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-i386-66782.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-fixinc-gmp-outside.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-build-libcpp.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-ccache-ada.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-cross-gcj-dbtool.patch -p0
Index: gcc-java/5.4.0/PATCHES.aarch64
===================================================================
--- gcc-java/5.4.0/PATCHES.aarch64 (nonexistent)
+++ gcc-java/5.4.0/PATCHES.aarch64 (revision 671)
@@ -0,0 +1,10 @@
+
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-backtrace.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-libgo.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-i386-66782.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-fixinc-gmp-outside.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-build-libcpp.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-ccache-ada.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-cross-gcj-dbtool.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-aarch64-multilib.patch -p0
+
Index: gcc-java/5.4.0/PATCHES.x86_64
===================================================================
--- gcc-java/5.4.0/PATCHES.x86_64 (nonexistent)
+++ gcc-java/5.4.0/PATCHES.x86_64 (revision 671)
@@ -0,0 +1,10 @@
+
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-backtrace.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-libgo.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-i386-66782.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-fixinc-gmp-outside.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-build-libcpp.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-ccache-ada.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-cross-gcj-dbtool.patch -p0
+../../../sources/GNU/gcc/gcc-5.4.0/patches/gcc-5.4.0-x86_64-multilib.patch -p0
+
Index: gcc-java/5.4.0/gcc-java-pkg-description.in
===================================================================
--- gcc-java/5.4.0/gcc-java-pkg-description.in (nonexistent)
+++ gcc-java/5.4.0/gcc-java-pkg-description.in (revision 671)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+gcc-java: gcc-java @VERSION@ (Java support for GCC)
+gcc-java:
+gcc-java: Java support for the GNU Compiler Collection.
+gcc-java:
+gcc-java: This package contains those parts of the compiler collection needed
+gcc-java: to compile programs written in the Java programming language.
+gcc-java: The base gcc package is also required.
+gcc-java:
+gcc-java:
+gcc-java:
+gcc-java:
Index: gcc-java/5.4.0/gcc-java-pkg-install.sh
===================================================================
--- gcc-java/5.4.0/gcc-java-pkg-install.sh (nonexistent)
+++ gcc-java/5.4.0/gcc-java-pkg-install.sh (revision 671)
@@ -0,0 +1,84 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ #
+ # NOTE:
+ # 'install-info' can work using relative paths and we can make use build machine
+ # utility during installation to the some partition and use target 'install-info'
+ # during installation directly on the running target machine.
+ #
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --info-dir=usr/share/info usr/share/info/gcj.info.gz 2>/dev/null
+ elif ! grep "(gcj)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> usr/share/info/dir
+
+Individual utilities
+* aot-compile: (gcj)Invoking aot-compile. Compile bytecode to native and
+ generate databases.
+* gc-analyze: (gcj)Invoking gc-analyze. Analyze Garbage Collector (GC)
+ memory dumps.
+* gcj-dbtool: (gcj)Invoking gcj-dbtool. Tool for manipulating class
+ file databases.
+* gij: (gcj)Invoking gij. GNU interpreter for Java
+ bytecode
+* grmic: (gcj)Invoking grmic. Generate stubs for Remote
+ Method Invocation.
+* jcf-dump: (gcj)Invoking jcf-dump. Print information about Java
+ class files
+* jv-convert: (gcj)Invoking jv-convert. Convert file from one encoding
+ to another
+* rebuild-gcj-db: (gcj)Invoking rebuild-gcj-db. Merge the per-solib databases
+ made by aot-compile into one system-wide database.
+EOF
+ fi
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --delete --info-file=usr/share/info/gcj.info.gz --dir-file=usr/share/info/dir 2>/dev/null || /bin/true
+ fi
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: gcc-java/5.4.0/gcc-java-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: gcc-java/5.4.0/scripts/ecj.sh
===================================================================
--- gcc-java/5.4.0/scripts/ecj.sh (nonexistent)
+++ gcc-java/5.4.0/scripts/ecj.sh (revision 671)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+CLASSPATH=@JAVADIR@/ecj.jar${CLASSPATH:+:}$CLASSPATH \
+ java org.eclipse.jdt.internal.compiler.batch.Main "$@"
Index: gcc-runtime/5.4.0/Makefile
===================================================================
--- gcc-runtime/5.4.0/Makefile (nonexistent)
+++ gcc-runtime/5.4.0/Makefile (revision 671)
@@ -0,0 +1,186 @@
+
+COMPONENT_TARGETS = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BT1)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+REQUIRES = base/pkgtool
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = $(shell $(CC) -dumpversion)
+
+build_gcc_rt_pkg = $(TARGET_BUILD_DIR)/.gcc_rt_pkg_done
+
+
+####### Targets
+
+PKG_GROUP = libs
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+GCC_RT_DEV_PKG_NAME = gcc-runtime
+GCC_RT_DEV_PKG_VERSION = 5.4.0
+GCC_RT_DEV_PKG_ARCH = $(TOOLCHAIN)
+GCC_RT_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
+GCC_RT_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+GCC_RT_DEV_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+GCC_RT_DEV_PKG_SHORT_DESCRIPTION = GNU Compiler Runtime Libraries
+GCC_RT_DEV_PKG_URL = $(BUG_URL)
+GCC_RT_DEV_PKG_LICENSE = GPLv2
+GCC_RT_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(GCC_RT_DEV_PKG_NAME)-pkg-description
+GCC_RT_DEV_PKG_DESCRIPTION_FILE_IN = $(GCC_RT_DEV_PKG_NAME)-pkg-description.in
+GCC_RT_DEV_PKG_INSTALL_SCRIPT = $(GCC_RT_DEV_PKG_NAME)-pkg-install.sh
+
+GCC_RT_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(GCC_RT_DEV_PKG_NAME)-package
+
+pkg_basename = $(GCC_RT_DEV_PKG_NAME)-$(GCC_RT_DEV_PKG_VERSION)-$(GCC_RT_DEV_PKG_ARCH)-$(GCC_RT_DEV_PKG_DISTRO_NAME)-$(GCC_RT_DEV_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_gcc_rt_pkg)
+
+PRODUCT_TARGETS = $(products)
+#
+# Do not install 'gcc-runtime' to the target root filesystem
+#
+# ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+src_dir = $(TOOLCHAIN_PATH)/$(TARGET)
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
+lib_compat = yes
+else
+lib_compat = no
+endif
+
+
+$(build_gcc_rt_pkg):
+ @mkdir -p $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX)
+ @( cd $(src_dir)/lib$(LIBSUFFIX) && \
+ if [ "" != "`find -iname 'libgcc*' -exec echo '{}' \; -quit`" ] ; then cp -a libgcc* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libstdc*' -exec echo '{}' \; -quit`" ] ; then cp -a libstdc* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libasan*' -exec echo '{}' \; -quit`" ] ; then cp -a libasan* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libatomic*' -exec echo '{}' \; -quit`" ] ; then cp -a libatomic* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libcilkrts*' -exec echo '{}' \; -quit`" ] ; then cp -a libcilkrts* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libgomp*' -exec echo '{}' \; -quit`" ] ; then cp -a libgomp* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libitm*' -exec echo '{}' \; -quit`" ] ; then cp -a libitm* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libsanitizer*' -exec echo '{}' \; -quit`" ] ; then cp -a libsanitizer* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'logging*' -exec echo '{}' \; -quit`" ] ; then cp -a logging* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'liblsan*' -exec echo '{}' \; -quit`" ] ; then cp -a liblsan* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libmudflap*' -exec echo '{}' \; -quit`" ] ; then cp -a libmudflap* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libquadmath*' -exec echo '{}' \; -quit`" ] ; then cp -a libquadmath* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libssp*' -exec echo '{}' \; -quit`" ] ; then cp -a libssp* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libsupc*' -exec echo '{}' \; -quit`" ] ; then cp -a libsupc* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libtsan*' -exec echo '{}' \; -quit`" ] ; then cp -a libtsan* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libubsan*' -exec echo '{}' \; -quit`" ] ; then cp -a libubsan* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libvtv*' -exec echo '{}' \; -quit`" ] ; then cp -a libvtv* $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; fi \
+ )
+ @if test "$(lib_compat)" == "yes" ; then \
+ mkdir -p $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ ( cd $(src_dir)/lib$(MULTILIB_X86_32_SUFFIX) && \
+ if [ "" != "`find -iname 'libgcc*' -exec echo '{}' \; -quit`" ] ; then cp -a libgcc* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libstdc*' -exec echo '{}' \; -quit`" ] ; then cp -a libstdc* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libasan*' -exec echo '{}' \; -quit`" ] ; then cp -a libasan* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libatomic*' -exec echo '{}' \; -quit`" ] ; then cp -a libatomic* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libcilkrts*' -exec echo '{}' \; -quit`" ] ; then cp -a libcilkrts* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libgomp*' -exec echo '{}' \; -quit`" ] ; then cp -a libgomp* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libitm*' -exec echo '{}' \; -quit`" ] ; then cp -a libitm* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libsanitizer*' -exec echo '{}' \; -quit`" ] ; then cp -a libsanitizer* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'logging*' -exec echo '{}' \; -quit`" ] ; then cp -a logging* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'liblsan*' -exec echo '{}' \; -quit`" ] ; then cp -a liblsan* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libmudflap*' -exec echo '{}' \; -quit`" ] ; then cp -a libmudflap* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libquadmath*' -exec echo '{}' \; -quit`" ] ; then cp -a libquadmath* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libssp*' -exec echo '{}' \; -quit`" ] ; then cp -a libssp* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libsupc*' -exec echo '{}' \; -quit`" ] ; then cp -a libsupc* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libtsan*' -exec echo '{}' \; -quit`" ] ; then cp -a libtsan* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libubsan*' -exec echo '{}' \; -quit`" ] ; then cp -a libubsan* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi && \
+ if [ "" != "`find -iname 'libvtv*' -exec echo '{}' \; -quit`" ] ; then cp -a libvtv* $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; fi \
+ ) ; \
+ fi
+ @rm -f $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX)/*gdb.py
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+ @rm -f $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/*gdb.py
+endif
+ # ======= tune linker *.la files =======
+ @( cd $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,$(src_dir)/lib,$(TARGET_DEST_DIR)/usr/lib,g" *.la \
+ )
+ @if test "$(lib_compat)" == "yes" ; then \
+ ( cd $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ sed -i "s,$(src_dir)/lib,$(TARGET_DEST_DIR)/usr/lib,g" *.la \
+ ) ; \
+ fi
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(GCC_RT_DEV_PKG))
+ # ======= tune target libtool *.la scripts =======
+ @( cd $(GCC_RT_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" *.la ; \
+ )
+ @if test "$(lib_compat)" == "yes" ; then \
+ ( cd $(GCC_RT_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" *.la ; \
+ ) ; \
+ fi
+ # ======= Strip binaries =======
+ @( cd $(GCC_RT_DEV_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+ @touch $@
+
+$(GCC_RT_DEV_PKG_DESCRIPTION_FILE): $(GCC_RT_DEV_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(build_gcc_rt_pkg) $(GCC_RT_DEV_PKG_DESCRIPTION_FILE) $(GCC_RT_DEV_PKG_INSTALL_SCRIPT)
+ @cp $(GCC_RT_DEV_PKG_DESCRIPTION_FILE) $(GCC_RT_DEV_PKG)/.DESCRIPTION
+ @cp $(GCC_RT_DEV_PKG_INSTALL_SCRIPT) $(GCC_RT_DEV_PKG)/.INSTALL
+ @$(BUILD_BIN_PKG_REQUIRES) $(GCC_RT_DEV_PKG)/.REQUIRES
+ @echo "pkgname=$(GCC_RT_DEV_PKG_NAME)" > $(GCC_RT_DEV_PKG)/.PKGINFO ; \
+ echo "pkgver=$(GCC_RT_DEV_PKG_VERSION)" >> $(GCC_RT_DEV_PKG)/.PKGINFO ; \
+ echo "arch=$(GCC_RT_DEV_PKG_ARCH)" >> $(GCC_RT_DEV_PKG)/.PKGINFO ; \
+ echo "distroname=$(GCC_RT_DEV_PKG_DISTRO_NAME)" >> $(GCC_RT_DEV_PKG)/.PKGINFO ; \
+ echo "distrover=$(GCC_RT_DEV_PKG_DISTRO_VERSION)" >> $(GCC_RT_DEV_PKG)/.PKGINFO ; \
+ echo "group=$(GCC_RT_DEV_PKG_GROUP)" >> $(GCC_RT_DEV_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(GCC_RT_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(GCC_RT_DEV_PKG)/.PKGINFO ; \
+ echo "url=$(GCC_RT_DEV_PKG_URL)" >> $(GCC_RT_DEV_PKG)/.PKGINFO ; \
+ echo "license=$(GCC_RT_DEV_PKG_LICENSE)" >> $(GCC_RT_DEV_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(GCC_RT_DEV_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: gcc-runtime/5.4.0/README
===================================================================
--- gcc-runtime/5.4.0/README (nonexistent)
+++ gcc-runtime/5.4.0/README (revision 671)
@@ -0,0 +1,14 @@
+
+All packages for target root file system are built using $(TARGET_DEST_DIR)
+temporary file system which contains the mirror of whole target system
+including all header files and libs for development purposes.
+
+Before start building target libraries and applications we have to prepare
+$(TARGET_DEST_DIR) for development.
+
+The first libraries in the $(TARGET_DEST_DIR) mirror shoul be the GCC runtime
+libraries from TOOLCHAIN. This libraries will not be installed into target
+root file system. This libraries will be used only for building GNU Libc.
+
+Target root file system will containt GCC runtime libraries which will be
+built in GCC package later.
Index: gcc-runtime/5.4.0/gcc-runtime-pkg-description.in
===================================================================
--- gcc-runtime/5.4.0/gcc-runtime-pkg-description.in (nonexistent)
+++ gcc-runtime/5.4.0/gcc-runtime-pkg-description.in (revision 671)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+gcc-runtime: GCC @VERSION@ (GNU Compiler Runtime Libraries)
+gcc-runtime:
+gcc-runtime: This package contains only GCC runtime libraries needed to run
+gcc-runtime: binaries linked with libgcc_s, libstdc++, ...
+gcc-runtime:
+gcc-runtime: This libraries are taken from cross toolchains and will be replaced
+gcc-runtime: with native GCC for target platform.
+gcc-runtime:
+gcc-runtime:
+gcc-runtime:
+gcc-runtime:
Index: gcc-runtime/5.4.0/gcc-runtime-pkg-install.sh
===================================================================
--- gcc-runtime/5.4.0/gcc-runtime-pkg-install.sh (nonexistent)
+++ gcc-runtime/5.4.0/gcc-runtime-pkg-install.sh (revision 671)
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: gcc-runtime/5.4.0/gcc-runtime-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: gperf/3.0.4/Makefile
===================================================================
--- gperf/3.0.4/Makefile (revision 670)
+++ gperf/3.0.4/Makefile (revision 671)
@@ -31,9 +31,9 @@
SOURCE_REQUIRES = sources/GNU/gperf
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
-REQUIRES = dev/gcc/5.3.0
+REQUIRES = dev/gcc/5.4.0
else
-REQUIRES = libs/glibc/2.24
+REQUIRES = libs/glibc/2.25
endif
# ======= __END_OF_REQUIRES__ =======
Index: guile/2.0.11/Makefile
===================================================================
--- guile/2.0.11/Makefile (revision 670)
+++ guile/2.0.11/Makefile (revision 671)
@@ -31,7 +31,7 @@
SOURCE_REQUIRES = sources/GNU/guile
REQUIRES = libs/libffi/3.2.1
-REQUIRES += libs/gmp/6.1.0
+REQUIRES += libs/gmp/6.1.2
REQUIRES += libs/readline/6.3
REQUIRES += dev/libtool/2.4.6
REQUIRES += libs/libunistring/0.9.6
Index: guile/2.0.11-x86_32/Makefile
===================================================================
--- guile/2.0.11-x86_32/Makefile (revision 670)
+++ guile/2.0.11-x86_32/Makefile (revision 671)
@@ -14,7 +14,7 @@
REQUIRES = dev/guile/2.0.11
REQUIRES += libs/libffi/3.2.1-x86_32
-REQUIRES += libs/gmp/6.1.0-x86_32
+REQUIRES += libs/gmp/6.1.2-x86_32
REQUIRES += libs/readline/6.3-x86_32
REQUIRES += dev/libtool/2.4.6-x86_32
REQUIRES += libs/libunistring/0.9.6-x86_32
Index: kernel/firefly/3.10-20161107-headers/Makefile
===================================================================
--- kernel/firefly/3.10-20161107-headers/Makefile (nonexistent)
+++ kernel/firefly/3.10-20161107-headers/Makefile (revision 671)
@@ -0,0 +1,128 @@
+
+COMPONENT_TARGETS = $(HARDWARE_FFRK3288)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/Rockchip/Firefly-RK3288
+
+REQUIRES = base/pkgtool
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 3.10-20161107
+modules_version = 3.10.37
+full_version = $(version)
+tar_bz2_archive = $(SRC_PACKAGE_PATH)/Linux/Rockchip/Firefly-RK3288/linux-firefly-$(version).tar.bz2
+SRC_ARCHIVE = $(tar_bz2_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-firefly-$(full_version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+
+build_kh_pkg = $(TARGET_BUILD_DIR)/.kernel_headers_pkg_done
+
+
+PATCHES =
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC)),)
+ARCH = arm
+endif
+
+USE_TARGET_DEST_DIR_SYSROOT = no
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+KH_DEV_PKG_NAME = kernel-headers
+KH_DEV_PKG_VERSION = 3.10.37
+KH_DEV_PKG_ARCH = $(TOOLCHAIN)
+KH_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
+KH_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+KH_DEV_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+KH_DEV_PKG_SHORT_DESCRIPTION = Firefly-RK3288 Linux kernel header files
+KH_DEV_PKG_URL = $(BUG_URL)
+KH_DEV_PKG_LICENSE = GPLv2
+KH_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(KH_DEV_PKG_NAME)-pkg-description
+KH_DEV_PKG_DESCRIPTION_FILE_IN = $(KH_DEV_PKG_NAME)-pkg-description.in
+KH_DEV_PKG_INSTALL_SCRIPT = $(KH_DEV_PKG_NAME)-pkg-install.sh
+
+
+KH_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(KH_DEV_PKG_NAME)-package
+
+pkg_basename = $(KH_DEV_PKG_NAME)-$(KH_DEV_PKG_VERSION)-$(KH_DEV_PKG_ARCH)-$(KH_DEV_PKG_DISTRO_NAME)-$(KH_DEV_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_kh_pkg)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(SRC_DIR)/include/generated/uapi/linux/version.h: $(src_done)
+ @touch $(SRC_DIR)/.config
+ @$(MAKE) -C $(SRC_DIR) \
+ ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_PREFIX) \
+ include/generated/uapi/linux/version.h
+
+$(KH_DEV_PKG)/usr/include/linux/autoconf.h: $(SRC_DIR)/include/generated/uapi/linux/version.h
+ @mkdir -p $(KH_DEV_PKG)/usr
+ @$(MAKE) -C $(SRC_DIR) headers_install \
+ ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_PREFIX) \
+ INSTALL_HDR_PATH=$(KH_DEV_PKG)/usr
+ @touch $@
+
+$(build_kh_pkg): $(KH_DEV_PKG)/usr/include/linux/autoconf.h
+ @( cd $(KH_DEV_PKG)/usr/include ; \
+ for file in `find . -name *.install*` ; do \
+ rm -f $$file; \
+ done )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(KH_DEV_PKG))
+ @touch $@
+
+$(KH_DEV_PKG_DESCRIPTION_FILE): $(KH_DEV_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@KERNEL_VERSION@/$(version)/g" > $@
+
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(build_kh_pkg) $(KH_DEV_PKG_DESCRIPTION_FILE) $(KH_DEV_PKG_INSTALL_SCRIPT)
+ @cp $(KH_DEV_PKG_DESCRIPTION_FILE) $(KH_DEV_PKG)/.DESCRIPTION
+ @cp $(KH_DEV_PKG_INSTALL_SCRIPT) $(KH_DEV_PKG)/.INSTALL
+ @$(BUILD_BIN_PKG_REQUIRES) $(KH_DEV_PKG)/.REQUIRES
+ @echo "pkgname=$(KH_DEV_PKG_NAME)" > $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "pkgver=$(KH_DEV_PKG_VERSION)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "arch=$(KH_DEV_PKG_ARCH)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "distroname=$(KH_DEV_PKG_DISTRO_NAME)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "distrover=$(KH_DEV_PKG_DISTRO_VERSION)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "group=$(KH_DEV_PKG_GROUP)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(KH_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "url=$(KH_DEV_PKG_URL)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "license=$(KH_DEV_PKG_LICENSE)" >> $(KH_DEV_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(KH_DEV_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: kernel/firefly/3.10-20161107-headers/PATCHES
===================================================================
Index: kernel/firefly/3.10-20161107-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/firefly/3.10-20161107-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/firefly/3.10-20161107-headers/kernel-headers-pkg-description.in (revision 671)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+kernel-headers: Firefly RK3288 Linux @KERNEL_VERSION@ Header Files
+kernel-headers:
+kernel-headers: Linus Torvalds' Linux kernel header files.
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
Index: kernel/firefly/3.10-20161107-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/firefly/3.10-20161107-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/firefly/3.10-20161107-headers/kernel-headers-pkg-install.sh (revision 671)
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: kernel/firefly/3.10-20161107-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/x86/4.9.35-headers/Makefile
===================================================================
--- kernel/x86/4.9.35-headers/Makefile (nonexistent)
+++ kernel/x86/4.9.35-headers/Makefile (revision 671)
@@ -0,0 +1,128 @@
+
+COMPONENT_TARGETS = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v4.x
+
+REQUIRES = base/pkgtool
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 4.9.35
+modules_version = 4.9.35
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v4.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(full_version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+
+build_kh_pkg = $(TARGET_BUILD_DIR)/.kernel_headers_pkg_done
+
+
+PATCHES =
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
+ARCH = x86
+endif
+
+USE_TARGET_DEST_DIR_SYSROOT = no
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+KH_DEV_PKG_NAME = kernel-headers
+KH_DEV_PKG_VERSION = 4.9.35
+KH_DEV_PKG_ARCH = $(TOOLCHAIN)
+KH_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
+KH_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+KH_DEV_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+KH_DEV_PKG_SHORT_DESCRIPTION = Linux kernel header files
+KH_DEV_PKG_URL = $(BUG_URL)
+KH_DEV_PKG_LICENSE = GPLv2
+KH_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(KH_DEV_PKG_NAME)-pkg-description
+KH_DEV_PKG_DESCRIPTION_FILE_IN = $(KH_DEV_PKG_NAME)-pkg-description.in
+KH_DEV_PKG_INSTALL_SCRIPT = $(KH_DEV_PKG_NAME)-pkg-install.sh
+
+
+KH_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(KH_DEV_PKG_NAME)-package
+
+pkg_basename = $(KH_DEV_PKG_NAME)-$(KH_DEV_PKG_VERSION)-$(KH_DEV_PKG_ARCH)-$(KH_DEV_PKG_DISTRO_NAME)-$(KH_DEV_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_kh_pkg)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(SRC_DIR)/include/generated/uapi/linux/version.h: $(src_done)
+ @touch $(SRC_DIR)/.config
+ @$(MAKE) -C $(SRC_DIR) \
+ ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_PREFIX) \
+ include/generated/uapi/linux/version.h
+
+$(KH_DEV_PKG)/usr/include/linux/autoconf.h: $(SRC_DIR)/include/generated/uapi/linux/version.h
+ @mkdir -p $(KH_DEV_PKG)/usr
+ @$(MAKE) -C $(SRC_DIR) headers_install \
+ ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_PREFIX) \
+ INSTALL_HDR_PATH=$(KH_DEV_PKG)/usr
+ @touch $@
+
+$(build_kh_pkg): $(KH_DEV_PKG)/usr/include/linux/autoconf.h
+ @( cd $(KH_DEV_PKG)/usr/include ; \
+ for file in `find . -name *.install*` ; do \
+ rm -f $$file; \
+ done )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(KH_DEV_PKG))
+ @touch $@
+
+$(KH_DEV_PKG_DESCRIPTION_FILE): $(KH_DEV_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@KERNEL_VERSION@/$(version)/g" > $@
+
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(build_kh_pkg) $(KH_DEV_PKG_DESCRIPTION_FILE) $(KH_DEV_PKG_INSTALL_SCRIPT)
+ @cp $(KH_DEV_PKG_DESCRIPTION_FILE) $(KH_DEV_PKG)/.DESCRIPTION
+ @cp $(KH_DEV_PKG_INSTALL_SCRIPT) $(KH_DEV_PKG)/.INSTALL
+ @$(BUILD_BIN_PKG_REQUIRES) $(KH_DEV_PKG)/.REQUIRES
+ @echo "pkgname=$(KH_DEV_PKG_NAME)" > $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "pkgver=$(KH_DEV_PKG_VERSION)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "arch=$(KH_DEV_PKG_ARCH)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "distroname=$(KH_DEV_PKG_DISTRO_NAME)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "distrover=$(KH_DEV_PKG_DISTRO_VERSION)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "group=$(KH_DEV_PKG_GROUP)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(KH_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "url=$(KH_DEV_PKG_URL)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "license=$(KH_DEV_PKG_LICENSE)" >> $(KH_DEV_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(KH_DEV_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: kernel/x86/4.9.35-headers/PATCHES
===================================================================
Index: kernel/x86/4.9.35-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/x86/4.9.35-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/x86/4.9.35-headers/kernel-headers-pkg-description.in (revision 671)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+kernel-headers: Linux @KERNEL_VERSION@ Header Files
+kernel-headers:
+kernel-headers: Linus Torvalds' Linux kernel header files.
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
Index: kernel/x86/4.9.35-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/x86/4.9.35-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/x86/4.9.35-headers/kernel-headers-pkg-install.sh (revision 671)
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: kernel/x86/4.9.35-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel-headers/Makefile
===================================================================
--- kernel-headers/Makefile (revision 670)
+++ kernel-headers/Makefile (revision 671)
@@ -30,7 +30,7 @@
ifneq ($(filter $(HARDWARE),$(HARDWARE_PC32) $(HARDWARE_PC64)),)
-REQUIRES = dev/kernel/x86/4.4.3-headers
+REQUIRES = dev/kernel/x86/4.9.35-headers
endif
ifneq ($(filter $(HARDWARE),$(HARDWARE_CB1X)),)
@@ -42,7 +42,7 @@
endif
ifneq ($(filter $(HARDWARE),$(HARDWARE_FFRK3288)),)
-REQUIRES = dev/kernel/firefly/3.10-20151231-headers
+REQUIRES = dev/kernel/firefly/3.10-20161107-headers
endif
ifneq ($(filter $(HARDWARE),$(HARDWARE_M201)),)
Index: libtool/2.4.6/Makefile
===================================================================
--- libtool/2.4.6/Makefile (revision 670)
+++ libtool/2.4.6/Makefile (revision 671)
@@ -31,12 +31,12 @@
SOURCE_REQUIRES = sources/GNU/libtool
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
-REQUIRES = dev/gcc/5.3.0
+REQUIRES = dev/gcc/5.4.0
else
ifneq ($(HARDWARE),$(HARDWARE_PC64))
-REQUIRES = libs/glibc/2.24
+REQUIRES = libs/glibc/2.25
else
-REQUIRES = libs/glibc/2.24-x86_32
+REQUIRES = libs/glibc/2.25-x86_32
endif
endif
Index: llvm/3.8.0/Makefile
===================================================================
--- llvm/3.8.0/Makefile (revision 670)
+++ llvm/3.8.0/Makefile (revision 671)
@@ -33,7 +33,7 @@
SOURCE_REQUIRES = sources/packages/d/LLVM
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
-REQUIRES = dev/gcc/5.3.0
+REQUIRES = dev/gcc/5.4.0
endif
REQUIRES += libs/libxml2/2.9.3
Index: m4/1.4.17/Makefile
===================================================================
--- m4/1.4.17/Makefile (revision 670)
+++ m4/1.4.17/Makefile (revision 671)
@@ -30,7 +30,7 @@
SOURCE_REQUIRES = sources/GNU/m4
-REQUIRES = libs/glibc/2.24
+REQUIRES = libs/glibc/2.25
# ======= __END_OF_REQUIRES__ =======
Index: orc/0.4.26.1/Makefile
===================================================================
--- orc/0.4.26.1/Makefile (revision 670)
+++ orc/0.4.26.1/Makefile (revision 671)
@@ -31,12 +31,12 @@
SOURCE_REQUIRES = sources/packages/d/orc
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
-REQUIRES = dev/gcc/5.3.0
+REQUIRES = dev/gcc/5.4.0
else
ifneq ($(HARDWARE),$(HARDWARE_PC64))
-REQUIRES = libs/glibc/2.24
+REQUIRES = libs/glibc/2.25
else
-REQUIRES = libs/glibc/2.24-x86_32
+REQUIRES = libs/glibc/2.25-x86_32
endif
endif
Index: orc/0.4.26.1/orc-pkg-install.sh
===================================================================
--- orc/0.4.26.1/orc-pkg-install.sh (revision 670)
+++ orc/0.4.26.1/orc-pkg-install.sh (revision 671)
@@ -21,21 +21,7 @@
# arg 1: the new package version
post_install() {
- #
- # NOTE:
- # 'install-info' can work using relative paths and we can make use build machine
- # utility during installation to the some partition and use target 'install-info'
- # during installation directly on the running target machine.
- #
- if [ -x /usr/bin/install-info ] ; then
- install-info --info-dir=usr/share/info usr/share/info/check.info.gz 2>/dev/null
- elif ! grep "(check)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
- cat << EOF >> usr/share/info/dir
-
-Software development
-* Check: (check)Introduction.
-EOF
- fi
+ /bin/true
}
# arg 1: the new package version
@@ -52,9 +38,7 @@
# arg 1: the old package version
pre_remove() {
- if [ -x /usr/bin/install-info ] ; then
- install-info --delete --info-file=usr/share/info/check.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
- fi
+ /bin/true
}
# arg 1: the old package version
Index: perl-modules/perl-clone/0.38/Makefile
===================================================================
--- perl-modules/perl-clone/0.38/Makefile (revision 670)
+++ perl-modules/perl-clone/0.38/Makefile (revision 671)
@@ -43,7 +43,11 @@
doc_dir_name = perl-clone-$(version)
src_done = $(TARGET_BUILD_DIR)/.source_done
+ifneq ($(filter $(HARDWARE),$(HARDWARE_PC32)),)
+PATCHES = PATCHES.i386
+else
PATCHES = PATCHES
+endif
build_target = $(TARGET_BUILD_DIR)/.build_done
install_target = $(TARGET_BUILD_DIR)/.install_done
Index: perl-modules/perl-clone/0.38/PATCHES.i386
===================================================================
--- perl-modules/perl-clone/0.38/PATCHES.i386 (nonexistent)
+++ perl-modules/perl-clone/0.38/PATCHES.i386 (revision 671)
@@ -0,0 +1,2 @@
+
+../../../../sources/packages/d/perl-modules/CPAN/Clone/patches/Clone-0.38-i386-stack-chk.patch -p0