Minimal build enabled
This commit is contained in:
parent
243c010b20
commit
153cfa0181
40
build.sh
40
build.sh
@ -372,6 +372,16 @@ xtchain_build()
|
||||
cp ${WRKDIR}/scripts/xtchain${EXTENSION} ${BINDIR}/
|
||||
}
|
||||
|
||||
# This function generates XTCHAIN version file
|
||||
xtchain_vergen()
|
||||
{
|
||||
cd ${WRKDIR}
|
||||
: ${XTCVER:=$(git describe --exact-match --tags 2>/dev/null)}
|
||||
: ${XTCVER:=DEVEL}
|
||||
[ ${BUILD_MINIMAL} -eq 1 ] && XTCVER="${XTCVER}-min"
|
||||
echo "${XTCVER}" > ${BINDIR}/Version
|
||||
}
|
||||
|
||||
|
||||
|
||||
# Parse all arguments provided to the script
|
||||
@ -426,28 +436,26 @@ fi
|
||||
mkdir -p ${BINDIR}
|
||||
mkdir -p ${SRCDIR}
|
||||
|
||||
# Build XTChain tools
|
||||
# Build XTchain tools
|
||||
#xtchain_build
|
||||
|
||||
# Download and build Wine tools
|
||||
#wine_fetch
|
||||
#wine_build
|
||||
|
||||
# Download and build LLVM
|
||||
#llvm_fetch
|
||||
#llvm_build
|
||||
if [ ${BUILD_MINIMAL} -eq 0 ]; then
|
||||
# Download and build LLVM
|
||||
#llvm_fetch
|
||||
#llvm_build
|
||||
|
||||
# Download and build CMake
|
||||
#cmake_fetch
|
||||
#cmake_build
|
||||
# Download and build CMake
|
||||
#cmake_fetch
|
||||
#cmake_build
|
||||
|
||||
# Download and build Ninja
|
||||
#ninja_fetch
|
||||
#ninja_build
|
||||
# Download and build Ninja
|
||||
#ninja_fetch
|
||||
#ninja_build
|
||||
fi
|
||||
|
||||
# Save XT Toolchain version
|
||||
cd ${WRKDIR}
|
||||
: ${XTCVER:=$(git describe --exact-match --tags 2>/dev/null)}
|
||||
: ${XTCVER:=DEVEL}
|
||||
[ ${BUILD_MINIMAL} -eq 1 ] && XTCVER="${XTCVER}-min"
|
||||
echo "${XTCVER}" > ${BINDIR}/Version
|
||||
# Generate XTchain version file
|
||||
#xtchain_vergen
|
||||
|
Loading…
x
Reference in New Issue
Block a user