hvconfig_pre()
{
- export CFLAGS="-mtune=generic -g -O2"
-
CONFIGURE_OPTS="\
${CONFIGURE_OPTS} \
--disable-profile \
--enable-kernel=$(get_pkg_ver ${KERNEL}) \
--libexecdir=/usr/lib/eglibc"
- case "${HVL_TARGET}" in
- "x86")
- CFLAGS="-march=$(cut -d- -f1 <<< ${CLFS_TARGET}) ${CFLAGS}"
- ;;
- esac
-
# When running make install, a script called test-installation.pl performs a
# small sanity test on our newly installed Glibc. However, because our
# toolchain still points to the /tools directory, the sanity test would be
esac
}
-hvconfig_post()
-{
- unset CFLAGS
-}
-
hvbuild()
{
make