#
ifneq "$(STAGE)" "toolchain"
define PREBUILD
+ set > $(DIR_TMP)/set
echo "### STARTING INSTALL #################################################"
echo "# Application: $(THISAPP)"
echo "# Description: $(SHORT_DESC)"
CORE = no
EXTRA = no
DEBUG = no
-BUILD_DEPS =
-DEPS = # e2fsprogs (but is statically linked)
+BUILD_DEPS = e2fsprogs
+DEPS =
URL = http://git.ipfire.org/?p=thirdparty/icecream.git;a=summary
LICENSE = GPLv2+
SAVE_SKIP_PACKAGE_LIST=$SKIP_PACKAGE_LIST
SKIP_PACKAGE_LIST=
+ icecc_disable
+
toolchain_make stage1
- toolchain_make icecc
- iceccd_start # Start iceccd
- icecc_use host # Use the host's tools
toolchain_make ccache
toolchain_make binutils PASS=1
toolchain_make gcc PASS=1
toolchain_make gcc PASS=2
toolchain_make binutils PASS=2
toolchain_make test-toolchain PASS=2
- icecc_use toolchain # Use the fresh gcc
toolchain_make ncurses
toolchain_make attr
toolchain_make acl
toolchain_make cpio
toolchain_make diffutils
toolchain_make e2fsprogs
+ toolchain_make icecc
+ icecc_enable
+ icecc_use toolchain # Use the fresh gcc
toolchain_make file
toolchain_make findutils
toolchain_make gawk
done
if [ -e "${file}" ]; then
+ ICECC_VERSION=${file}
return
fi
if [ -n "$(pidof iceccd)" ]; then
return
fi
- ${TOOLS_DIR}/usr/sbin/iceccd -vvv -d -s ${ICECC_SCHEDULER} -m ${ICECC_JOBS-5}
+ ${TOOLS_DIR}/usr/sbin/iceccd -vvv -d -s ${ICECC_SCHEDULER} -m ${ICECC_JOBS-5} \
+ -N ${HOSTNAME}
}
function iceccd_stop() {
function icecc_disable() {
ICECC=off
+ SAVE_CCACHE_PREFIX=${CCACHE_PREFIX}
+ unset CCACHE_PREFIX
}
function icecc_enable() {
unset ICECC
iceccd_start
+ CCACHE_PREFIX=$SAVE_CCACHE_PREFIX
+ unset SAVE_CCACHE_PREFIX
}
function icecc_use() {