diff --git a/CLFS/config b/CLFS/config index 1e20ebc..5e1c455 100644 --- a/CLFS/config +++ b/CLFS/config @@ -22,16 +22,16 @@ TARGET= #-------------------------------- # >>>> 64-64 BUILD <<<< # ARCH=x86_64-64 ; TARGET="x86_64-unknown-linux-gnu" -# ARCH=mips64-64 ; TARGET="mipsel-unknown-linux-gnu" -# ARCH=mips64-64 ; TARGET="mips-unknown-linux-gnu" +# ARCH=mips64-64 ; TARGET="mips64el-unknown-linux-gnu" +# ARCH=mips64-64 ; TARGET="mips64-unknown-linux-gnu" # ARCH=sparc64-64 ; TARGET="sparc64-unknown-linux-gnu" # ARCH=alpha ; TARGET="alpha-unknown-linux-gnu" #-------------------------------- # >>>> MULTILIB 32/64 <<<< # ARCH=x86_64 ; TARGET="x86_64-unknown-linux-gnu" ; TARGET32="i686-pc-linux-gnu" -# ARCH=mips64 ; TARGET="mipsel-unknown-linux-gnu" ; TARGET32="mipsel-unknown-linux-gnu" -# ARCH=mips64 ; TARGET="mips-unknown-linux-gnu" ; TARGET32="mips-unknown-linux-gnu" -# ARCH=sparc64 ; TARGET="sparc64-unknown-linux-gnu" ; TARGET32="sparcv9-unknown-linux-gnu" +# ARCH=mips64 ; TARGET="mips64el-unknown-linux-gnu" ; TARGET32="mipsel-unknown-linux-gnu" +# ARCH=mips64 ; TARGET="mips64-unknown-linux-gnu" ; TARGET32="mips-unknown-linux-gnu" +# ARCH=sparc64 ; TARGET="sparc64-unknown-linux-gnu" ; TARGET32="sparc-unknown-linux-gnu" # ARCH=ppc64 ; TARGET="powerpc64-unknown-linux-gnu" ; TARGET32="powerpc-unknown-linux-gnu" #--- What build method should be used chroot/boot diff --git a/CLFS/master.sh b/CLFS/master.sh index 6373555..20b2e3e 100755 --- a/CLFS/master.sh +++ b/CLFS/master.sh @@ -159,6 +159,15 @@ temptools_Makefiles() { # for file in temp-system/* ; do # Keep the script file name this_script=`basename $file` + # + # Deal with any odd scripts.. + case $this_script in + *choose) # The choose script will fail if you cannot enter the new environment + # If the 'boot' build method was chosen don't run the script + [[ $METHOD = "boot" ]] && continue; ;; + *) ;; + esac + # # First append each name of the script files to a list (this will become # the names of the targets in the Makefile diff --git a/common/func_validate_configs.sh b/common/func_validate_configs.sh index e9c4a3f..526d962 100644 --- a/common/func_validate_configs.sh +++ b/common/func_validate_configs.sh @@ -36,8 +36,8 @@ validate_target() { # ;; "x86_64-64") [[ "${TARGET}" = "x86_64-unknown-linux-gnu" ]] && return ;; - "mips64-64") [[ "${TARGET}" = "mipsel-unknown-linux-gnu" ]] && return - [[ "${TARGET}" = "mips-unknown-linux-gnu" ]] && return + "mips64-64") [[ "${TARGET}" = "mips64el-unknown-linux-gnu" ]] && return + [[ "${TARGET}" = "mips64-unknown-linux-gnu" ]] && return ;; "sparc64-64") [[ "${TARGET}" = "sparc64-unknown-linux-gnu" ]] && return ;; @@ -46,14 +46,14 @@ validate_target() { # "x86_64") [[ "${TARGET}" = "x86_64-unknown-linux-gnu" ]] && [[ "${TARGET32}" = "i686-pc-linux-gnu" ]] && return ;; - "mips64") [[ "${TARGET}" = "mipsel-unknown-linux-gnu" ]] && + "mips64") [[ "${TARGET}" = "mips64el-unknown-linux-gnu" ]] && [[ "${TARGET32}" = "mipsel-unknown-linux-gnu" ]] && return - [[ "${TARGET}" = "mips-unknown-linux-gnu" ]] && + [[ "${TARGET}" = "mips64-unknown-linux-gnu" ]] && [[ "${TARGET32}" = "mips-unknown-linux-gnu" ]] && return ;; "sparc64") [[ "${TARGET}" = "sparc64-unknown-linux-gnu" ]] && - [[ "${TARGET32}" = "sparcv9-unknown-linux-gnu" ]] && return + [[ "${TARGET32}" = "sparc-unknown-linux-gnu" ]] && return ;; "ppc64") [[ "${TARGET}" = "powerpc64-unknown-linux-gnu" ]] && [[ "${TARGET32}" = "powerpc-unknown-linux-gnu" ]] && return