TclPKCS11

make-cc-common.sh at [1dd8b89ef1]
Login

File build/make-cc-common.sh artifact bc096b4692 part of check-in 1dd8b89ef1


#! /bin/sh

make distclean

CCROOT="/home/rkeene/root/cross-compilers"
CC="${CCROOT}/${TARGET}/bin/${TARGET}-gcc" ./configure --host="${TARGET}" --with-tcl="$(pwd)/build/${SHORTTARGET}"

# Replace version with the version
. build/makearch.info
sed "s/@@VERS@@/${VERS}/g" Makefile > Makefile.new && cat Makefile.new > Makefile
rm -f Makefile.new

gmake
"${CCROOT}/${TARGET}/bin/${TARGET}-strip" -x tclpkcs11.so