KVER=`grep --max-count=1 VER lfs/linux | awk '{ print $3 }'`
GIT_TAG=$(git tag | tail -1) # Git Tag
GIT_LASTCOMMIT=$(git log | head -n1 | cut -d" " -f2 |head -c8) # Last commit
-TOOLCHAINVER=9
+TOOLCHAINVER=10
# New architecture variables
BUILD_ARCH="$(uname -m)"
# Run LFS static binary creation scripts one by one
export CCACHE_DIR=$BASEDIR/ccache
export CCACHE_COMPRESS=1
- export CCACHE_COMPILERCHECK="none"
+ export CCACHE_COMPILERCHECK="string:toolchain-${TOOLCHAINVER}:${TARGET_ARCH}"
# Remove pre-install list of installed files in case user erase some files before rebuild
rm -f $BASEDIR/build/usr/src/lsalr 2>/dev/null
buildtoolchain() {
local error=false
case "${TARGET_ARCH}:${BUILD_ARCH}" in
+ # x86_64
+ x86_64:x86_64)
+ # This is working.
+ ;;
+
# x86
i586:i586|i586:i686|i586:x86_64)
# These are working.
ipfiremake iptables
case "${TARGET_ARCH}" in
+ x86_64)
+ ipfiremake linux KCFG=""
+ ipfiremake backports KCFG=""
+ ipfiremake cryptodev KCFG=""
+ ipfiremake e1000e KCFG=""
+# ipfiremake igb KCFG=""
+ ipfiremake ixgbe KCFG=""
+ ipfiremake xtables-addons KCFG=""
+ ipfiremake linux-initrd KCFG=""
+ ;;
i586)
# x86-pae (Native and new XEN) kernel build
ipfiremake linux KCFG="-pae"