Always copy all scripts regardless of target platform
This commit is contained in:
parent
17fb344798
commit
079af46983
6
build.sh
6
build.sh
@ -352,11 +352,9 @@ xtchain_build()
|
|||||||
case "${SYSTEM_NAME}" in
|
case "${SYSTEM_NAME}" in
|
||||||
Windows)
|
Windows)
|
||||||
CCOMPILER="${SYSTEM_HOST}-gcc"
|
CCOMPILER="${SYSTEM_HOST}-gcc"
|
||||||
EXTENSION=".ps1"
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
CCOMPILER="clang"
|
CCOMPILER="clang"
|
||||||
EXTENSION=""
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Build XTchain tools
|
# Build XTchain tools
|
||||||
@ -368,8 +366,8 @@ xtchain_build()
|
|||||||
${CCOMPILER} ${WRKDIR}/tools/${EXEC}.c -o ${BINDIR}/bin/${EXEC}
|
${CCOMPILER} ${WRKDIR}/tools/${EXEC}.c -o ${BINDIR}/bin/${EXEC}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
cp ${WRKDIR}/scripts/xtclib${EXTENSION} ${BINDIR}/lib/xtchain/
|
cp ${WRKDIR}/scripts/xtclib* ${BINDIR}/lib/xtchain/
|
||||||
cp ${WRKDIR}/scripts/xtchain${EXTENSION} ${BINDIR}/
|
cp ${WRKDIR}/scripts/xtchain* ${BINDIR}/
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function generates XTCHAIN version file and produces tarball archive
|
# This function generates XTCHAIN version file and produces tarball archive
|
||||||
|
Loading…
x
Reference in New Issue
Block a user