summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkx <kx@radix.pro>2018-11-26 08:12:53 +0300
committerkx <kx@radix.pro>2018-11-26 08:12:53 +0300
commit6de90834ebb63e7bee6c369b2826ac9823762996 (patch)
tree6b953fd241d9702e949d641e9db2e31e9540f784
parent83bb3142c4fb00f29be581020aafc36f31780b63 (diff)
downloadtoolchains-arc-6de90834ebb63e7bee6c369b2826ac9823762996.tar.xz
Changes related new toolchains base path and porting to Git
-rw-r--r--.svnignore34
-rw-r--r--README.md2
-rwxr-xr-xbuild-system/canonical-build2
-rw-r--r--build-system/config.mk3
-rw-r--r--build-system/core.mk56
-rw-r--r--core/gcc/2016.09.17/Makefile12
-rw-r--r--products/Makefile4
-rw-r--r--products/S8XX-newlib/1.1.2/Makefile6
-rw-r--r--products/S8XX-newlib/1.1.2/S8XX-TEST/.config4
-rwxr-xr-xproducts/S8XX-newlib/1.1.2/S8XX-TEST/build.sh2
-rwxr-xr-xproducts/S8XX-newlib/1.1.2/S8XX-TEST/clean.sh2
-rw-r--r--products/S8XX-newlib/1.1.3/Makefile6
-rw-r--r--products/S8XX-newlib/1.1.3/S8XX-TEST/.config4
-rwxr-xr-xproducts/S8XX-newlib/1.1.3/S8XX-TEST/build.sh2
-rwxr-xr-xproducts/S8XX-newlib/1.1.3/S8XX-TEST/clean.sh2
-rw-r--r--products/S8XX-newlib/1.1.4/Makefile6
-rw-r--r--products/S8XX-newlib/1.1.4/S8XX-TEST/.config4
-rwxr-xr-xproducts/S8XX-newlib/1.1.4/S8XX-TEST/build.sh2
-rwxr-xr-xproducts/S8XX-newlib/1.1.4/S8XX-TEST/clean.sh2
-rw-r--r--products/S8XX-newlib/1.2.0/Makefile6
-rw-r--r--products/S8XX-newlib/1.2.0/S8XX-TEST/.config4
-rwxr-xr-xproducts/S8XX-newlib/1.2.0/S8XX-TEST/build.sh2
-rwxr-xr-xproducts/S8XX-newlib/1.2.0/S8XX-TEST/clean.sh2
-rw-r--r--products/S8XX-newlib/1.2.1/Makefile6
-rw-r--r--products/S8XX-newlib/1.2.1/S8XX-TEST/.config4
-rwxr-xr-xproducts/S8XX-newlib/1.2.1/S8XX-TEST/build.sh2
-rwxr-xr-xproducts/S8XX-newlib/1.2.1/S8XX-TEST/clean.sh2
-rw-r--r--products/S8XX-newlib/1.2.2/Makefile6
-rw-r--r--products/S8XX-newlib/1.2.2/S8XX-TEST/.config4
-rwxr-xr-xproducts/S8XX-newlib/1.2.2/S8XX-TEST/build.sh2
-rwxr-xr-xproducts/S8XX-newlib/1.2.2/S8XX-TEST/clean.sh2
-rw-r--r--products/S8XX-newlib/1.2.3/Makefile34
-rw-r--r--products/S8XX-newlib/1.2.3/S8XX-TEST/.config22
-rwxr-xr-xproducts/S8XX-newlib/1.2.3/S8XX-TEST/build.sh15
-rwxr-xr-xproducts/S8XX-newlib/1.2.3/S8XX-TEST/clean.sh9
-rw-r--r--products/S8XX-newlib/1.2.3/S8XX-TEST/main.c13
-rw-r--r--products/S8XX-newlib/1.3.0/Makefile6
-rw-r--r--products/S8XX-newlib/1.3.0/S8XX-TEST/.config4
-rwxr-xr-xproducts/S8XX-newlib/1.3.0/S8XX-TEST/build.sh2
-rwxr-xr-xproducts/S8XX-newlib/1.3.0/S8XX-TEST/clean.sh2
-rw-r--r--products/S8XX-newlib/1.3.1/Makefile6
-rw-r--r--products/S8XX-newlib/1.3.1/S8XX-TEST/.config4
-rwxr-xr-xproducts/S8XX-newlib/1.3.1/S8XX-TEST/build.sh2
-rwxr-xr-xproducts/S8XX-newlib/1.3.1/S8XX-TEST/clean.sh2
-rw-r--r--products/S8XX-newlib/1.3.2/Makefile6
-rw-r--r--products/S8XX-newlib/1.3.2/S8XX-TEST/.config4
-rwxr-xr-xproducts/S8XX-newlib/1.3.2/S8XX-TEST/build.sh2
-rwxr-xr-xproducts/S8XX-newlib/1.3.2/S8XX-TEST/clean.sh2
-rw-r--r--products/S8XX-newlib/1.3.3/Makefile6
-rw-r--r--products/S8XX-newlib/1.3.3/S8XX-TEST/.config4
-rwxr-xr-xproducts/S8XX-newlib/1.3.3/S8XX-TEST/build.sh2
-rwxr-xr-xproducts/S8XX-newlib/1.3.3/S8XX-TEST/clean.sh2
-rw-r--r--sources/GNU/gmp/Makefile2
-rw-r--r--sources/GNU/mpfr/Makefile2
-rwxr-xr-xsources/binutils/create-2016.09.17-flex-2.6.3-patch/create.patch.sh2
-rw-r--r--sources/binutils/patches/README6
-rwxr-xr-xsources/newlib/create-2016.09.17-doc-patch/create.patch.sh2
-rw-r--r--sources/newlib/patches/README6
58 files changed, 219 insertions, 147 deletions
diff --git a/.svnignore b/.svnignore
deleted file mode 100644
index 2361c10..0000000
--- a/.svnignore
+++ /dev/null
@@ -1,34 +0,0 @@
-
-# Target build dirs
-.noarch/
-.host/
-
-.s8xx-newlib/
-
-# Hidden files (each file)
-.makefile
-
-# Tarballs
-*.gz
-*.bz2
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Default linux config files
-*.defconfig
-
-# Object Files
-*.[ao]
-
-# backup copies
-*~
diff --git a/README.md b/README.md
index 2f02735..9f89aa6 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,6 @@ Creators
Copyright and license
---------------------
-Code and documentation copyright 2009-2017 Andrey V. Kosteltsev.
+Code and documentation copyright 2009-2018 Andrey V. Kosteltsev.
Code and documentation released under [the MIT License](LICENSE).
diff --git a/build-system/canonical-build b/build-system/canonical-build
index 19516b0..a406ffc 100755
--- a/build-system/canonical-build
+++ b/build-system/canonical-build
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
diff --git a/build-system/config.mk b/build-system/config.mk
index 353a0b6..e2cd86e 100644
--- a/build-system/config.mk
+++ b/build-system/config.mk
@@ -12,7 +12,8 @@ WGET_OPTIONS = -q -N
CACHED_CC_OUTPUT = /opt/extra/ccache
-TOOLCHAINS_BASE_PATH = /opt/toolchain
+TOOLCHAINS_BASE_PATH = /opt/toolchains
+
TOOLCHAINS_VERSION = 1.0.0
diff --git a/build-system/core.mk b/build-system/core.mk
index 3c71608..9b4c7f0 100644
--- a/build-system/core.mk
+++ b/build-system/core.mk
@@ -349,16 +349,16 @@ ifneq ($(shell pwd),$(TOP_BUILD_DIR_ABS))
ifeq ($(filter %_clean,$(MAKECMDGOALS)),)
ifeq ($(__final__),)
@echo ""
- @shtool echo -e "%B################################################################%b"
- @shtool echo -e "%B#######%b"
- @shtool echo -e "%B#######%b %BStart of building source requires for '%b$(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))%B':%b"
- @shtool echo -e "%B#######%b"
+ @echo -e "################################################################"
+ @echo -e "#######"
+ @echo -e "####### Start of building source requires for '$(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))':"
+ @echo -e "#######"
@$(BUILDSYSTEM)/build_src_requires $(TOP_BUILD_DIR_ABS)
@__final__= TREE_RULE=local_all $(MAKE) TOOLCHAIN=$(TOOLCHAIN_NOARCH) FLAVOUR= -f .src_requires
- @shtool echo -e "%B#######%b"
- @shtool echo -e "%B#######%b %BEnd of building source requires for '%b$(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))%B':%b"
- @shtool echo -e "%B#######%b"
- @shtool echo -e "%B################################################################%b"
+ @echo -e "#######"
+ @echo -e "####### End of building source requires for '$(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))'."
+ @echo -e "#######"
+ @echo -e "################################################################"
@echo ""
@touch $@
@touch .src_requires_depend
@@ -372,15 +372,15 @@ endif
ifneq ($(shell pwd),$(TOP_BUILD_DIR_ABS))
ifeq ($(shell pwd | grep $(TOP_BUILD_DIR_ABS)/$(SRC_PACKAGE_DIR))$(shell pwd | grep $(BUILDSYSTEM)/3pp/sources),)
ifeq ($(shell pwd | grep $(BUILDSYSTEM)),)
- @shtool echo -e "%B################################################################%b"
- @shtool echo -e "%B#######%b"
- @shtool echo -e "%B#######%b %BStart to Check the BUILDSYSTEM is ready:%b"
- @shtool echo -e "%B#######%b"
+ @echo -e "################################################################"
+ @echo -e "#######"
+ @echo -e "####### Start to Check the BUILDSYSTEM is ready:"
+ @echo -e "#######"
@( cd $(BUILDSYSTEM) ; __final__= $(MAKE) TOOLCHAIN=$(TOOLCHAIN_HOST) FLAVOUR= all )
- @shtool echo -e "%B#######%b"
- @shtool echo -e "%B#######%b %BEnd of checking the BUILDSYSTEM.%b"
- @shtool echo -e "%B#######%b"
- @shtool echo -e "%B################################################################%b"
+ @echo -e "#######"
+ @echo -e "####### End of checking the BUILDSYSTEM."
+ @echo -e "#######"
+ @echo -e "################################################################"
endif
endif
endif
@@ -414,9 +414,9 @@ downloads_clean: .downloads_clean
.downloads_clean:
@echo ""
- @shtool echo -e "%B#######%b"
- @shtool echo -e "%B#######%b %BCleaning Up all downloaded sources...%b"
- @shtool echo -e "%B#######%b"
+ @echo -e "#######"
+ @echo -e "####### Cleaning Up all downloaded sources..."
+ @echo -e "#######"
@$(BUILDSYSTEM)/downloads_clean $(addprefix ., $(TOOLCHAIN_NOARCH)) $(BUILDSYSTEM)/3pp/sources
ifneq ($(wildcard $(TOP_BUILD_DIR_ABS)/$(SRC_PACKAGE_DIR)),)
@$(BUILDSYSTEM)/downloads_clean $(addprefix ., $(TOOLCHAIN_NOARCH)) $(TOP_BUILD_DIR_ABS)/$(SRC_PACKAGE_DIR)
@@ -631,23 +631,23 @@ local_clean:
.tree_all: $(TARGET_BUILD_DIR)/.requires
ifneq ($(shell pwd),$(TOP_BUILD_DIR_ABS))
ifeq ($(shell pwd | grep $(TOP_BUILD_DIR_ABS)/$(SRC_PACKAGE_DIR))$(shell pwd | grep $(BUILDSYSTEM)/3pp/sources),)
- @shtool echo -e "%B################################################################%b"
- @shtool echo -e "%B#######%b"
+ @echo -e "################################################################"
+ @echo -e "#######"
ifeq ($(shell pwd),$(BUILDSYSTEM))
- @shtool echo -e "%B#######%b %BStart of building requires for '%b$(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))%B':%b"
+ @echo -e "####### Start of building requires for '$(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))':"
else
- @shtool echo -e "%B#######%b %BStart of building requires for %bTOOLCHAIN=%B$(TOOLCHAIN) %bFLAVOUR=%B$(FLAVOUR) in '%b$(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))%B':%b"
+ @echo -e "####### Start of building requires for TOOLCHAIN=$(TOOLCHAIN) FLAVOUR=$(FLAVOUR) in '$(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))':"
endif
- @shtool echo -e "%B#######%b"
+ @echo -e "#######"
ifeq ($(shell pwd),$(BUILDSYSTEM))
@__final__=true TREE_RULE=local_all $(MAKE) TOOLCHAIN=$(TOOLCHAIN_HOST) FLAVOUR= -f $(TARGET_BUILD_DIR)/.requires
else
@__final__=true TREE_RULE=local_all $(MAKE) TOOLCHAIN=$(TOOLCHAIN) FLAVOUR= -f $(TARGET_BUILD_DIR)/.requires
endif
- @shtool echo -e "%B#######%b"
- @shtool echo -e "%B#######%b %BEnd of building requires for '%b$(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))%B':%b"
- @shtool echo -e "%B#######%b"
- @shtool echo -e "%B################################################################%b"
+ @echo -e "#######"
+ @echo -e "####### End of building requires for '$(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))'."
+ @echo -e "#######"
+ @echo -e "################################################################"
endif
endif
diff --git a/core/gcc/2016.09.17/Makefile b/core/gcc/2016.09.17/Makefile
index 4fccdfc..81b22c5 100644
--- a/core/gcc/2016.09.17/Makefile
+++ b/core/gcc/2016.09.17/Makefile
@@ -28,8 +28,8 @@ endif
# ======= __END_OF_REQUIRES__ =======
tar_xz_archive = $(SRC_PACKAGE_PATH)/gcc/gcc-arc-2016.09.17.tar.xz
-tar_bz2_archive_gmp = $(SRC_PACKAGE_PATH)/GNU/gmp/gmp-6.1.0.tar.bz2
-tar_bz2_archive_mpfr = $(SRC_PACKAGE_PATH)/GNU/mpfr/mpfr-3.1.3.tar.bz2
+tar_xz_archive_gmp = $(SRC_PACKAGE_PATH)/GNU/gmp/gmp-6.1.0.tar.xz
+tar_xz_archive_mpfr = $(SRC_PACKAGE_PATH)/GNU/mpfr/mpfr-3.1.3.tar.xz
tar_gz_archive_mpc = $(SRC_PACKAGE_PATH)/GNU/mpc/mpc-1.0.3.tar.gz
SRC_ARCHIVE = $(tar_xz_archive)
SRC_DIR = $(TARGET_BUILD_DIR)/gcc-arc-2016.09.17
@@ -89,14 +89,14 @@ $(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
@touch $@
$(gmp_src_done): $(src_done)
- @echo "Expanding $(tar_bz2_archive_gmp)"
- @tar xjf $(tar_bz2_archive_gmp) -C $(TARGET_BUILD_DIR)
+ @echo "Expanding $(tar_xz_archive_gmp)"
+ @tar xJf $(tar_xz_archive_gmp) -C $(TARGET_BUILD_DIR)
@cd $(SRC_DIR); ln -sf ../gmp-6.1.0 gmp
@touch $@
$(mpfr_src_done): $(src_done)
- @echo "Expanding $(tar_bz2_archive_mpfr)"
- @tar xjf $(tar_bz2_archive_mpfr) -C $(TARGET_BUILD_DIR)
+ @echo "Expanding $(tar_xz_archive_mpfr)"
+ @tar xJf $(tar_xz_archive_mpfr) -C $(TARGET_BUILD_DIR)
@cd $(SRC_DIR); ln -sf ../mpfr-3.1.3 mpfr
@touch $@
diff --git a/products/Makefile b/products/Makefile
index 5cdf07c..7c81928 100644
--- a/products/Makefile
+++ b/products/Makefile
@@ -3,14 +3,14 @@
COMPONENT_TARGETS = $(TOOLCHAIN_S8XX_NEWLIB)
-export TOOLCHAIN_VERSION = 1.3.3
+export TOOLCHAIN_VERSION = 1.2.3
include ../build-system/config.mk
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_NEWLIB))
-REQUIRES = products/S8XX-newlib/1.3.3
+REQUIRES = products/S8XX-newlib/1.2.3
endif
# ======= __END_OF_REQUIRES__ =======
diff --git a/products/S8XX-newlib/1.1.2/Makefile b/products/S8XX-newlib/1.1.2/Makefile
index a63d5ac..f3dbd22 100644
--- a/products/S8XX-newlib/1.1.2/Makefile
+++ b/products/S8XX-newlib/1.1.2/Makefile
@@ -11,7 +11,7 @@ REQUIRES += core/gdb/2016.09.17
# ======= __END_OF_REQUIRES__ =======
-tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.gz
+tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.xz
tarball = $(TARGET_BUILD_DIR)/$(tarball_name)
tarball_target = $(TARGET_BUILD_DIR)/.tarball-created
@@ -28,7 +28,7 @@ $(tarball): $(tarball_target)
$(tarball_target): $(build_requires)
@echo ""
@echo "Creating $(tarball_name) tarball..."
- @cd $(TOOLCHAINS_BASE_PATH); \
- tar -czf $(tarball_name) $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION)
+ @cd $(TOOLCHAINS_BASE_PATH) ; \
+ tar -cf - $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION) | xz --threads=0 > $(tarball_name)
@mv $(TOOLCHAINS_BASE_PATH)/$(tarball_name) $(TARGET_BUILD_DIR)
@touch $@
diff --git a/products/S8XX-newlib/1.1.2/S8XX-TEST/.config b/products/S8XX-newlib/1.1.2/S8XX-TEST/.config
index f66217e..b4c8b11 100644
--- a/products/S8XX-newlib/1.1.2/S8XX-TEST/.config
+++ b/products/S8XX-newlib/1.1.2/S8XX-TEST/.config
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#################################################################
#
@@ -13,7 +13,7 @@ if test -z "$TARGET"; then
fi
if test -z "$TOOLCHAIN_PATH"; then
- export TOOLCHAIN_PATH=/opt/toolchain/arc-S8XX-elf32-newlib/1.1.2
+ export TOOLCHAIN_PATH=/opt/toolchains/arc-S8XX-elf32-newlib/1.1.2
fi
#
diff --git a/products/S8XX-newlib/1.1.2/S8XX-TEST/build.sh b/products/S8XX-newlib/1.1.2/S8XX-TEST/build.sh
index 0aa8617..223e791 100755
--- a/products/S8XX-newlib/1.1.2/S8XX-TEST/build.sh
+++ b/products/S8XX-newlib/1.1.2/S8XX-TEST/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
. ./.config
diff --git a/products/S8XX-newlib/1.1.2/S8XX-TEST/clean.sh b/products/S8XX-newlib/1.1.2/S8XX-TEST/clean.sh
index 0856dcc..8486e5a 100755
--- a/products/S8XX-newlib/1.1.2/S8XX-TEST/clean.sh
+++ b/products/S8XX-newlib/1.1.2/S8XX-TEST/clean.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
rm -f full.program.asm
rm -f main
diff --git a/products/S8XX-newlib/1.1.3/Makefile b/products/S8XX-newlib/1.1.3/Makefile
index ae83b22..536adc5 100644
--- a/products/S8XX-newlib/1.1.3/Makefile
+++ b/products/S8XX-newlib/1.1.3/Makefile
@@ -11,7 +11,7 @@ REQUIRES += core/gdb/2016.09.17
# ======= __END_OF_REQUIRES__ =======
-tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.gz
+tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.xz
tarball = $(TARGET_BUILD_DIR)/$(tarball_name)
tarball_target = $(TARGET_BUILD_DIR)/.tarball-created
@@ -28,7 +28,7 @@ $(tarball): $(tarball_target)
$(tarball_target): $(build_requires)
@echo ""
@echo "Creating $(tarball_name) tarball..."
- @cd $(TOOLCHAINS_BASE_PATH); \
- tar -czf $(tarball_name) $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION)
+ @cd $(TOOLCHAINS_BASE_PATH) ; \
+ tar -cf - $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION) | xz --threads=0 > $(tarball_name)
@mv $(TOOLCHAINS_BASE_PATH)/$(tarball_name) $(TARGET_BUILD_DIR)
@touch $@
diff --git a/products/S8XX-newlib/1.1.3/S8XX-TEST/.config b/products/S8XX-newlib/1.1.3/S8XX-TEST/.config
index 357b808..d528db2 100644
--- a/products/S8XX-newlib/1.1.3/S8XX-TEST/.config
+++ b/products/S8XX-newlib/1.1.3/S8XX-TEST/.config
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#################################################################
#
@@ -13,7 +13,7 @@ if test -z "$TARGET"; then
fi
if test -z "$TOOLCHAIN_PATH"; then
- export TOOLCHAIN_PATH=/opt/toolchain/arc-S8XX-elf32-newlib/1.1.3
+ export TOOLCHAIN_PATH=/opt/toolchains/arc-S8XX-elf32-newlib/1.1.3
fi
#
diff --git a/products/S8XX-newlib/1.1.3/S8XX-TEST/build.sh b/products/S8XX-newlib/1.1.3/S8XX-TEST/build.sh
index 0aa8617..223e791 100755
--- a/products/S8XX-newlib/1.1.3/S8XX-TEST/build.sh
+++ b/products/S8XX-newlib/1.1.3/S8XX-TEST/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
. ./.config
diff --git a/products/S8XX-newlib/1.1.3/S8XX-TEST/clean.sh b/products/S8XX-newlib/1.1.3/S8XX-TEST/clean.sh
index 0856dcc..8486e5a 100755
--- a/products/S8XX-newlib/1.1.3/S8XX-TEST/clean.sh
+++ b/products/S8XX-newlib/1.1.3/S8XX-TEST/clean.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
rm -f full.program.asm
rm -f main
diff --git a/products/S8XX-newlib/1.1.4/Makefile b/products/S8XX-newlib/1.1.4/Makefile
index 05065d2..22b0a15 100644
--- a/products/S8XX-newlib/1.1.4/Makefile
+++ b/products/S8XX-newlib/1.1.4/Makefile
@@ -11,7 +11,7 @@ REQUIRES += core/gdb/2016.09.17
# ======= __END_OF_REQUIRES__ =======
-tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.gz
+tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.xz
tarball = $(TARGET_BUILD_DIR)/$(tarball_name)
tarball_target = $(TARGET_BUILD_DIR)/.tarball-created
@@ -28,7 +28,7 @@ $(tarball): $(tarball_target)
$(tarball_target): $(build_requires)
@echo ""
@echo "Creating $(tarball_name) tarball..."
- @cd $(TOOLCHAINS_BASE_PATH); \
- tar -czf $(tarball_name) $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION)
+ @cd $(TOOLCHAINS_BASE_PATH) ; \
+ tar -cf - $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION) | xz --threads=0 > $(tarball_name)
@mv $(TOOLCHAINS_BASE_PATH)/$(tarball_name) $(TARGET_BUILD_DIR)
@touch $@
diff --git a/products/S8XX-newlib/1.1.4/S8XX-TEST/.config b/products/S8XX-newlib/1.1.4/S8XX-TEST/.config
index 6295ebc..3d6d35c 100644
--- a/products/S8XX-newlib/1.1.4/S8XX-TEST/.config
+++ b/products/S8XX-newlib/1.1.4/S8XX-TEST/.config
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#################################################################
#
@@ -13,7 +13,7 @@ if test -z "$TARGET"; then
fi
if test -z "$TOOLCHAIN_PATH"; then
- export TOOLCHAIN_PATH=/opt/toolchain/arc-S8XX-elf32-newlib/1.1.4
+ export TOOLCHAIN_PATH=/opt/toolchains/arc-S8XX-elf32-newlib/1.1.4
fi
#
diff --git a/products/S8XX-newlib/1.1.4/S8XX-TEST/build.sh b/products/S8XX-newlib/1.1.4/S8XX-TEST/build.sh
index 0aa8617..223e791 100755
--- a/products/S8XX-newlib/1.1.4/S8XX-TEST/build.sh
+++ b/products/S8XX-newlib/1.1.4/S8XX-TEST/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
. ./.config
diff --git a/products/S8XX-newlib/1.1.4/S8XX-TEST/clean.sh b/products/S8XX-newlib/1.1.4/S8XX-TEST/clean.sh
index 0856dcc..8486e5a 100755
--- a/products/S8XX-newlib/1.1.4/S8XX-TEST/clean.sh
+++ b/products/S8XX-newlib/1.1.4/S8XX-TEST/clean.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
rm -f full.program.asm
rm -f main
diff --git a/products/S8XX-newlib/1.2.0/Makefile b/products/S8XX-newlib/1.2.0/Makefile
index 115703d..8522cd1 100644
--- a/products/S8XX-newlib/1.2.0/Makefile
+++ b/products/S8XX-newlib/1.2.0/Makefile
@@ -11,7 +11,7 @@ REQUIRES += core/gdb/2016.09.17
# ======= __END_OF_REQUIRES__ =======
-tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.gz
+tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.xz
tarball = $(TARGET_BUILD_DIR)/$(tarball_name)
tarball_target = $(TARGET_BUILD_DIR)/.tarball-created
@@ -28,7 +28,7 @@ $(tarball): $(tarball_target)
$(tarball_target): $(build_requires)
@echo ""
@echo "Creating $(tarball_name) tarball..."
- @cd $(TOOLCHAINS_BASE_PATH); \
- tar -czf $(tarball_name) $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION)
+ @cd $(TOOLCHAINS_BASE_PATH) ; \
+ tar -cf - $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION) | xz --threads=0 > $(tarball_name)
@mv $(TOOLCHAINS_BASE_PATH)/$(tarball_name) $(TARGET_BUILD_DIR)
@touch $@
diff --git a/products/S8XX-newlib/1.2.0/S8XX-TEST/.config b/products/S8XX-newlib/1.2.0/S8XX-TEST/.config
index 77bcc88..f0a0ac6 100644
--- a/products/S8XX-newlib/1.2.0/S8XX-TEST/.config
+++ b/products/S8XX-newlib/1.2.0/S8XX-TEST/.config
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#################################################################
#
@@ -13,7 +13,7 @@ if test -z "$TARGET"; then
fi
if test -z "$TOOLCHAIN_PATH"; then
- export TOOLCHAIN_PATH=/opt/toolchain/arc-S8XX-elf32-newlib/1.2.0
+ export TOOLCHAIN_PATH=/opt/toolchains/arc-S8XX-elf32-newlib/1.2.0
fi
#
diff --git a/products/S8XX-newlib/1.2.0/S8XX-TEST/build.sh b/products/S8XX-newlib/1.2.0/S8XX-TEST/build.sh
index 0aa8617..223e791 100755
--- a/products/S8XX-newlib/1.2.0/S8XX-TEST/build.sh
+++ b/products/S8XX-newlib/1.2.0/S8XX-TEST/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
. ./.config
diff --git a/products/S8XX-newlib/1.2.0/S8XX-TEST/clean.sh b/products/S8XX-newlib/1.2.0/S8XX-TEST/clean.sh
index 0856dcc..8486e5a 100755
--- a/products/S8XX-newlib/1.2.0/S8XX-TEST/clean.sh
+++ b/products/S8XX-newlib/1.2.0/S8XX-TEST/clean.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
rm -f full.program.asm
rm -f main
diff --git a/products/S8XX-newlib/1.2.1/Makefile b/products/S8XX-newlib/1.2.1/Makefile
index c86cebb..94b51de 100644
--- a/products/S8XX-newlib/1.2.1/Makefile
+++ b/products/S8XX-newlib/1.2.1/Makefile
@@ -11,7 +11,7 @@ REQUIRES += core/gdb/2016.09.17
# ======= __END_OF_REQUIRES__ =======
-tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.gz
+tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.xz
tarball = $(TARGET_BUILD_DIR)/$(tarball_name)
tarball_target = $(TARGET_BUILD_DIR)/.tarball-created
@@ -28,7 +28,7 @@ $(tarball): $(tarball_target)
$(tarball_target): $(build_requires)
@echo ""
@echo "Creating $(tarball_name) tarball..."
- @cd $(TOOLCHAINS_BASE_PATH); \
- tar -czf $(tarball_name) $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION)
+ @cd $(TOOLCHAINS_BASE_PATH) ; \
+ tar -cf - $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION) | xz --threads=0 > $(tarball_name)
@mv $(TOOLCHAINS_BASE_PATH)/$(tarball_name) $(TARGET_BUILD_DIR)
@touch $@
diff --git a/products/S8XX-newlib/1.2.1/S8XX-TEST/.config b/products/S8XX-newlib/1.2.1/S8XX-TEST/.config
index fe1301d..a507a9a 100644
--- a/products/S8XX-newlib/1.2.1/S8XX-TEST/.config
+++ b/products/S8XX-newlib/1.2.1/S8XX-TEST/.config
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#################################################################
#
@@ -13,7 +13,7 @@ if test -z "$TARGET"; then
fi
if test -z "$TOOLCHAIN_PATH"; then
- export TOOLCHAIN_PATH=/opt/toolchain/arc-S8XX-elf32-newlib/1.2.1
+ export TOOLCHAIN_PATH=/opt/toolchains/arc-S8XX-elf32-newlib/1.2.1
fi
#
diff --git a/products/S8XX-newlib/1.2.1/S8XX-TEST/build.sh b/products/S8XX-newlib/1.2.1/S8XX-TEST/build.sh
index 0aa8617..223e791 100755
--- a/products/S8XX-newlib/1.2.1/S8XX-TEST/build.sh
+++ b/products/S8XX-newlib/1.2.1/S8XX-TEST/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
. ./.config
diff --git a/products/S8XX-newlib/1.2.1/S8XX-TEST/clean.sh b/products/S8XX-newlib/1.2.1/S8XX-TEST/clean.sh
index 0856dcc..8486e5a 100755
--- a/products/S8XX-newlib/1.2.1/S8XX-TEST/clean.sh
+++ b/products/S8XX-newlib/1.2.1/S8XX-TEST/clean.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
rm -f full.program.asm
rm -f main
diff --git a/products/S8XX-newlib/1.2.2/Makefile b/products/S8XX-newlib/1.2.2/Makefile
index 83aa417..14f6042 100644
--- a/products/S8XX-newlib/1.2.2/Makefile
+++ b/products/S8XX-newlib/1.2.2/Makefile
@@ -11,7 +11,7 @@ REQUIRES += core/gdb/2016.09.17
# ======= __END_OF_REQUIRES__ =======
-tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.gz
+tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.xz
tarball = $(TARGET_BUILD_DIR)/$(tarball_name)
tarball_target = $(TARGET_BUILD_DIR)/.tarball-created
@@ -28,7 +28,7 @@ $(tarball): $(tarball_target)
$(tarball_target): $(build_requires)
@echo ""
@echo "Creating $(tarball_name) tarball..."
- @cd $(TOOLCHAINS_BASE_PATH); \
- tar -czf $(tarball_name) $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION)
+ @cd $(TOOLCHAINS_BASE_PATH) ; \
+ tar -cf - $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION) | xz --threads=0 > $(tarball_name)
@mv $(TOOLCHAINS_BASE_PATH)/$(tarball_name) $(TARGET_BUILD_DIR)
@touch $@
diff --git a/products/S8XX-newlib/1.2.2/S8XX-TEST/.config b/products/S8XX-newlib/1.2.2/S8XX-TEST/.config
index c55ceb0..ebc5383 100644
--- a/products/S8XX-newlib/1.2.2/S8XX-TEST/.config
+++ b/products/S8XX-newlib/1.2.2/S8XX-TEST/.config
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#################################################################
#
@@ -13,7 +13,7 @@ if test -z "$TARGET"; then
fi
if test -z "$TOOLCHAIN_PATH"; then
- export TOOLCHAIN_PATH=/opt/toolchain/arc-S8XX-elf32-newlib/1.2.2
+ export TOOLCHAIN_PATH=/opt/toolchains/arc-S8XX-elf32-newlib/1.2.2
fi
#
diff --git a/products/S8XX-newlib/1.2.2/S8XX-TEST/build.sh b/products/S8XX-newlib/1.2.2/S8XX-TEST/build.sh
index 0aa8617..223e791 100755
--- a/products/S8XX-newlib/1.2.2/S8XX-TEST/build.sh
+++ b/products/S8XX-newlib/1.2.2/S8XX-TEST/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
. ./.config
diff --git a/products/S8XX-newlib/1.2.2/S8XX-TEST/clean.sh b/products/S8XX-newlib/1.2.2/S8XX-TEST/clean.sh
index 0856dcc..8486e5a 100755
--- a/products/S8XX-newlib/1.2.2/S8XX-TEST/clean.sh
+++ b/products/S8XX-newlib/1.2.2/S8XX-TEST/clean.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
rm -f full.program.asm
rm -f main
diff --git a/products/S8XX-newlib/1.2.3/Makefile b/products/S8XX-newlib/1.2.3/Makefile
new file mode 100644
index 0000000..a7fca69
--- /dev/null
+++ b/products/S8XX-newlib/1.2.3/Makefile
@@ -0,0 +1,34 @@
+
+
+COMPONENT_TARGETS = $(TOOLCHAIN_S8XX_NEWLIB)
+
+export TOOLCHAIN_VERSION = 1.2.3
+
+include ../../../build-system/config.mk
+
+REQUIRES = core/gcc/2016.09.17^full
+REQUIRES += core/gdb/2016.09.17
+
+# ======= __END_OF_REQUIRES__ =======
+
+tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.xz
+tarball = $(TARGET_BUILD_DIR)/$(tarball_name)
+
+tarball_target = $(TARGET_BUILD_DIR)/.tarball-created
+
+BUILD_TARGETS = $(tarball_target)
+
+PRODUCT_TARGETS = $(tarball)
+
+include ../../../build-system/core.mk
+
+
+$(tarball): $(tarball_target)
+
+$(tarball_target): $(build_requires)
+ @echo ""
+ @echo "Creating $(tarball_name) tarball..."
+ @cd $(TOOLCHAINS_BASE_PATH) ; \
+ tar -cf - $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION) | xz --threads=0 > $(tarball_name)
+ @mv $(TOOLCHAINS_BASE_PATH)/$(tarball_name) $(TARGET_BUILD_DIR)
+ @touch $@
diff --git a/products/S8XX-newlib/1.2.3/S8XX-TEST/.config b/products/S8XX-newlib/1.2.3/S8XX-TEST/.config
new file mode 100644
index 0000000..6e609dc
--- /dev/null
+++ b/products/S8XX-newlib/1.2.3/S8XX-TEST/.config
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+#################################################################
+#
+# default common variables:
+#
+if test -z "$HOST"; then
+ export HOST=x86_64-pc-linux-gnu
+fi
+
+if test -z "$TARGET"; then
+ export TARGET=arc-s8xx-elf32
+fi
+
+if test -z "$TOOLCHAIN_PATH"; then
+ export TOOLCHAIN_PATH=/opt/toolchains/arc-S8XX-elf32-newlib/1.2.3
+fi
+
+#
+# END of default common variables.
+#
+#################################################################
diff --git a/products/S8XX-newlib/1.2.3/S8XX-TEST/build.sh b/products/S8XX-newlib/1.2.3/S8XX-TEST/build.sh
new file mode 100755
index 0000000..223e791
--- /dev/null
+++ b/products/S8XX-newlib/1.2.3/S8XX-TEST/build.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+. ./.config
+
+export PATH=$TOOLCHAIN_PATH/bin:$PATH
+
+$TARGET-gcc -g -mcpu=arcem -I$TOOLCHAIN_PATH/$TARGET/include -c -o main.o main.c
+$TARGET-gcc -mcpu=arcem -o main main.o -lc -lnosys
+
+$TARGET-strip main -o main.elf
+
+$TARGET-objcopy -O srec main.elf main.srec
+$TARGET-objcopy -O ihex main.elf main.hex
+$TARGET-objdump -S -d main.o > main.asm
+$TARGET-objdump -S -d main > full.program.asm
diff --git a/products/S8XX-newlib/1.2.3/S8XX-TEST/clean.sh b/products/S8XX-newlib/1.2.3/S8XX-TEST/clean.sh
new file mode 100755
index 0000000..8486e5a
--- /dev/null
+++ b/products/S8XX-newlib/1.2.3/S8XX-TEST/clean.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+rm -f full.program.asm
+rm -f main
+rm -f main.asm
+rm -f main.elf
+rm -f main.hex
+rm -f main.o
+rm -f main.srec
diff --git a/products/S8XX-newlib/1.2.3/S8XX-TEST/main.c b/products/S8XX-newlib/1.2.3/S8XX-TEST/main.c
new file mode 100644
index 0000000..9a35e2b
--- /dev/null
+++ b/products/S8XX-newlib/1.2.3/S8XX-TEST/main.c
@@ -0,0 +1,13 @@
+
+#include <stdlib.h>
+#include <inttypes.h>
+
+int main()
+{
+ uint32_t a = 7, b = 3, c, r;
+
+ c = a / b;
+ r = a % b;
+
+ return( 0 );
+}
diff --git a/products/S8XX-newlib/1.3.0/Makefile b/products/S8XX-newlib/1.3.0/Makefile
index 33050ff..a93994b 100644
--- a/products/S8XX-newlib/1.3.0/Makefile
+++ b/products/S8XX-newlib/1.3.0/Makefile
@@ -11,7 +11,7 @@ REQUIRES += core/gdb/2016.09.17
# ======= __END_OF_REQUIRES__ =======
-tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.gz
+tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.xz
tarball = $(TARGET_BUILD_DIR)/$(tarball_name)
tarball_target = $(TARGET_BUILD_DIR)/.tarball-created
@@ -28,7 +28,7 @@ $(tarball): $(tarball_target)
$(tarball_target): $(build_requires)
@echo ""
@echo "Creating $(tarball_name) tarball..."
- @cd $(TOOLCHAINS_BASE_PATH); \
- tar -czf $(tarball_name) $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION)
+ @cd $(TOOLCHAINS_BASE_PATH) ; \
+ tar -cf - $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION) | xz --threads=0 > $(tarball_name)
@mv $(TOOLCHAINS_BASE_PATH)/$(tarball_name) $(TARGET_BUILD_DIR)
@touch $@
diff --git a/products/S8XX-newlib/1.3.0/S8XX-TEST/.config b/products/S8XX-newlib/1.3.0/S8XX-TEST/.config
index 23db682..b222097 100644
--- a/products/S8XX-newlib/1.3.0/S8XX-TEST/.config
+++ b/products/S8XX-newlib/1.3.0/S8XX-TEST/.config
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#################################################################
#
@@ -13,7 +13,7 @@ if test -z "$TARGET"; then
fi
if test -z "$TOOLCHAIN_PATH"; then
- export TOOLCHAIN_PATH=/opt/toolchain/arc-S8XX-elf32-newlib/1.3.0
+ export TOOLCHAIN_PATH=/opt/toolchains/arc-S8XX-elf32-newlib/1.3.0
fi
#
diff --git a/products/S8XX-newlib/1.3.0/S8XX-TEST/build.sh b/products/S8XX-newlib/1.3.0/S8XX-TEST/build.sh
index 0aa8617..223e791 100755
--- a/products/S8XX-newlib/1.3.0/S8XX-TEST/build.sh
+++ b/products/S8XX-newlib/1.3.0/S8XX-TEST/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
. ./.config
diff --git a/products/S8XX-newlib/1.3.0/S8XX-TEST/clean.sh b/products/S8XX-newlib/1.3.0/S8XX-TEST/clean.sh
index 0856dcc..8486e5a 100755
--- a/products/S8XX-newlib/1.3.0/S8XX-TEST/clean.sh
+++ b/products/S8XX-newlib/1.3.0/S8XX-TEST/clean.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
rm -f full.program.asm
rm -f main
diff --git a/products/S8XX-newlib/1.3.1/Makefile b/products/S8XX-newlib/1.3.1/Makefile
index 2b696c9..b418130 100644
--- a/products/S8XX-newlib/1.3.1/Makefile
+++ b/products/S8XX-newlib/1.3.1/Makefile
@@ -11,7 +11,7 @@ REQUIRES += core/gdb/2016.09.17
# ======= __END_OF_REQUIRES__ =======
-tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.gz
+tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.xz
tarball = $(TARGET_BUILD_DIR)/$(tarball_name)
tarball_target = $(TARGET_BUILD_DIR)/.tarball-created
@@ -28,7 +28,7 @@ $(tarball): $(tarball_target)
$(tarball_target): $(build_requires)
@echo ""
@echo "Creating $(tarball_name) tarball..."
- @cd $(TOOLCHAINS_BASE_PATH); \
- tar -czf $(tarball_name) $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION)
+ @cd $(TOOLCHAINS_BASE_PATH) ; \
+ tar -cf - $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION) | xz --threads=0 > $(tarball_name)
@mv $(TOOLCHAINS_BASE_PATH)/$(tarball_name) $(TARGET_BUILD_DIR)
@touch $@
diff --git a/products/S8XX-newlib/1.3.1/S8XX-TEST/.config b/products/S8XX-newlib/1.3.1/S8XX-TEST/.config
index 81c7ddd..f185c06 100644
--- a/products/S8XX-newlib/1.3.1/S8XX-TEST/.config
+++ b/products/S8XX-newlib/1.3.1/S8XX-TEST/.config
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#################################################################
#
@@ -13,7 +13,7 @@ if test -z "$TARGET"; then
fi
if test -z "$TOOLCHAIN_PATH"; then
- export TOOLCHAIN_PATH=/opt/toolchain/arc-S8XX-elf32-newlib/1.3.1
+ export TOOLCHAIN_PATH=/opt/toolchains/arc-S8XX-elf32-newlib/1.3.1
fi
#
diff --git a/products/S8XX-newlib/1.3.1/S8XX-TEST/build.sh b/products/S8XX-newlib/1.3.1/S8XX-TEST/build.sh
index 0aa8617..223e791 100755
--- a/products/S8XX-newlib/1.3.1/S8XX-TEST/build.sh
+++ b/products/S8XX-newlib/1.3.1/S8XX-TEST/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
. ./.config
diff --git a/products/S8XX-newlib/1.3.1/S8XX-TEST/clean.sh b/products/S8XX-newlib/1.3.1/S8XX-TEST/clean.sh
index 0856dcc..8486e5a 100755
--- a/products/S8XX-newlib/1.3.1/S8XX-TEST/clean.sh
+++ b/products/S8XX-newlib/1.3.1/S8XX-TEST/clean.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
rm -f full.program.asm
rm -f main
diff --git a/products/S8XX-newlib/1.3.2/Makefile b/products/S8XX-newlib/1.3.2/Makefile
index f174ba7..aca6cab 100644
--- a/products/S8XX-newlib/1.3.2/Makefile
+++ b/products/S8XX-newlib/1.3.2/Makefile
@@ -11,7 +11,7 @@ REQUIRES += core/gdb/2016.09.17
# ======= __END_OF_REQUIRES__ =======
-tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.gz
+tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.xz
tarball = $(TARGET_BUILD_DIR)/$(tarball_name)
tarball_target = $(TARGET_BUILD_DIR)/.tarball-created
@@ -28,7 +28,7 @@ $(tarball): $(tarball_target)
$(tarball_target): $(build_requires)
@echo ""
@echo "Creating $(tarball_name) tarball..."
- @cd $(TOOLCHAINS_BASE_PATH); \
- tar -czf $(tarball_name) $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION)
+ @cd $(TOOLCHAINS_BASE_PATH) ; \
+ tar -cf - $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION) | xz --threads=0 > $(tarball_name)
@mv $(TOOLCHAINS_BASE_PATH)/$(tarball_name) $(TARGET_BUILD_DIR)
@touch $@
diff --git a/products/S8XX-newlib/1.3.2/S8XX-TEST/.config b/products/S8XX-newlib/1.3.2/S8XX-TEST/.config
index 61337ac..a65034a 100644
--- a/products/S8XX-newlib/1.3.2/S8XX-TEST/.config
+++ b/products/S8XX-newlib/1.3.2/S8XX-TEST/.config
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#################################################################
#
@@ -13,7 +13,7 @@ if test -z "$TARGET"; then
fi
if test -z "$TOOLCHAIN_PATH"; then
- export TOOLCHAIN_PATH=/opt/toolchain/arc-S8XX-elf32-newlib/1.3.2
+ export TOOLCHAIN_PATH=/opt/toolchains/arc-S8XX-elf32-newlib/1.3.2
fi
#
diff --git a/products/S8XX-newlib/1.3.2/S8XX-TEST/build.sh b/products/S8XX-newlib/1.3.2/S8XX-TEST/build.sh
index 0aa8617..223e791 100755
--- a/products/S8XX-newlib/1.3.2/S8XX-TEST/build.sh
+++ b/products/S8XX-newlib/1.3.2/S8XX-TEST/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
. ./.config
diff --git a/products/S8XX-newlib/1.3.2/S8XX-TEST/clean.sh b/products/S8XX-newlib/1.3.2/S8XX-TEST/clean.sh
index 0856dcc..8486e5a 100755
--- a/products/S8XX-newlib/1.3.2/S8XX-TEST/clean.sh
+++ b/products/S8XX-newlib/1.3.2/S8XX-TEST/clean.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
rm -f full.program.asm
rm -f main
diff --git a/products/S8XX-newlib/1.3.3/Makefile b/products/S8XX-newlib/1.3.3/Makefile
index f789591..96eb27e 100644
--- a/products/S8XX-newlib/1.3.3/Makefile
+++ b/products/S8XX-newlib/1.3.3/Makefile
@@ -11,7 +11,7 @@ REQUIRES += core/gdb/2016.09.17
# ======= __END_OF_REQUIRES__ =======
-tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.gz
+tarball_name = $(TOOLCHAIN_DIR)-$(TOOLCHAIN_VERSION).tar.xz
tarball = $(TARGET_BUILD_DIR)/$(tarball_name)
tarball_target = $(TARGET_BUILD_DIR)/.tarball-created
@@ -28,7 +28,7 @@ $(tarball): $(tarball_target)
$(tarball_target): $(build_requires)
@echo ""
@echo "Creating $(tarball_name) tarball..."
- @cd $(TOOLCHAINS_BASE_PATH); \
- tar -czf $(tarball_name) $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION)
+ @cd $(TOOLCHAINS_BASE_PATH) ; \
+ tar -cf - $(TOOLCHAIN_DIR)/$(TOOLCHAIN_VERSION) | xz --threads=0 > $(tarball_name)
@mv $(TOOLCHAINS_BASE_PATH)/$(tarball_name) $(TARGET_BUILD_DIR)
@touch $@
diff --git a/products/S8XX-newlib/1.3.3/S8XX-TEST/.config b/products/S8XX-newlib/1.3.3/S8XX-TEST/.config
index c015ff3..667cb20 100644
--- a/products/S8XX-newlib/1.3.3/S8XX-TEST/.config
+++ b/products/S8XX-newlib/1.3.3/S8XX-TEST/.config
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#################################################################
#
@@ -13,7 +13,7 @@ if test -z "$TARGET"; then
fi
if test -z "$TOOLCHAIN_PATH"; then
- export TOOLCHAIN_PATH=/opt/toolchain/arc-S8XX-elf32-newlib/1.3.3
+ export TOOLCHAIN_PATH=/opt/toolchains/arc-S8XX-elf32-newlib/1.3.3
fi
#
diff --git a/products/S8XX-newlib/1.3.3/S8XX-TEST/build.sh b/products/S8XX-newlib/1.3.3/S8XX-TEST/build.sh
index 0aa8617..223e791 100755
--- a/products/S8XX-newlib/1.3.3/S8XX-TEST/build.sh
+++ b/products/S8XX-newlib/1.3.3/S8XX-TEST/build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
. ./.config
diff --git a/products/S8XX-newlib/1.3.3/S8XX-TEST/clean.sh b/products/S8XX-newlib/1.3.3/S8XX-TEST/clean.sh
index 0856dcc..8486e5a 100755
--- a/products/S8XX-newlib/1.3.3/S8XX-TEST/clean.sh
+++ b/products/S8XX-newlib/1.3.3/S8XX-TEST/clean.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
rm -f full.program.asm
rm -f main
diff --git a/sources/GNU/gmp/Makefile b/sources/GNU/gmp/Makefile
index 7498688..56b55d7 100644
--- a/sources/GNU/gmp/Makefile
+++ b/sources/GNU/gmp/Makefile
@@ -10,7 +10,7 @@ url = $(DOWNLOAD_SERVER)/sources/GNU/gmp
versions = 6.1.0
-tarballs = $(addsuffix .tar.bz2, $(addprefix gmp-, $(versions)))
+tarballs = $(addsuffix .tar.xz, $(addprefix gmp-, $(versions)))
sha1s = $(addsuffix .sha1sum, $(tarballs))
diff --git a/sources/GNU/mpfr/Makefile b/sources/GNU/mpfr/Makefile
index 3056fa7..afef449 100644
--- a/sources/GNU/mpfr/Makefile
+++ b/sources/GNU/mpfr/Makefile
@@ -10,7 +10,7 @@ url = $(DOWNLOAD_SERVER)/sources/GNU/mpfr
versions = 3.1.3
-tarballs = $(addsuffix .tar.bz2, $(addprefix mpfr-, $(versions)))
+tarballs = $(addsuffix .tar.xz, $(addprefix mpfr-, $(versions)))
sha1s = $(addsuffix .sha1sum, $(tarballs))
diff --git a/sources/binutils/create-2016.09.17-flex-2.6.3-patch/create.patch.sh b/sources/binutils/create-2016.09.17-flex-2.6.3-patch/create.patch.sh
index 648bd52..f591e46 100755
--- a/sources/binutils/create-2016.09.17-flex-2.6.3-patch/create.patch.sh
+++ b/sources/binutils/create-2016.09.17-flex-2.6.3-patch/create.patch.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
VERSION=2016.09.17
diff --git a/sources/binutils/patches/README b/sources/binutils/patches/README
new file mode 100644
index 0000000..89f38d0
--- /dev/null
+++ b/sources/binutils/patches/README
@@ -0,0 +1,6 @@
+
+/* begin *
+
+ TODO: Leave some comment here.
+
+ * end */
diff --git a/sources/newlib/create-2016.09.17-doc-patch/create.patch.sh b/sources/newlib/create-2016.09.17-doc-patch/create.patch.sh
index 3077491..3e20a46 100755
--- a/sources/newlib/create-2016.09.17-doc-patch/create.patch.sh
+++ b/sources/newlib/create-2016.09.17-doc-patch/create.patch.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
VERSION=2016.09.17
diff --git a/sources/newlib/patches/README b/sources/newlib/patches/README
new file mode 100644
index 0000000..89f38d0
--- /dev/null
+++ b/sources/newlib/patches/README
@@ -0,0 +1,6 @@
+
+/* begin *
+
+ TODO: Leave some comment here.
+
+ * end */