{
if [ "x${HVLABEL}" = "x${GCC}-pass1" ]; then
${HVMAKE} all-gcc all-target-libgcc
- ${HVMAKE} install-gcc install-target-libgcc DESTDIR=${CLFS}
+ ${HVMAKE} DESTDIR=${LFS} install-gcc install-target-libgcc
else
${HVMAKE} \
AS_FOR_TARGET="${CLFS_TARGET}-as" \
LD_FOR_TARGET="${CLFS_TARGET}-ld"
- ${HVMAKE} install DESTDIR=${CLFS}
+ ${HVMAKE} DESTDIR=${LFS} install
fi
}
hvbuild_post()
{
# Create symbolic links for programs that expect Module-Init-Tools:
- ln -svfT kmod ${CLFS}/bin/lsmod
- ln -svfT ../bin/kmod ${CLFS}/sbin/depmod
- ln -svfT ../bin/kmod ${CLFS}/sbin/insmod
- ln -svfT ../bin/kmod ${CLFS}/sbin/modprobe
- ln -svfT ../bin/kmod ${CLFS}/sbin/modinfo
- ln -svfT ../bin/kmod ${CLFS}/sbin/rmmod
+ ln -svfT kmod ${LFS}/bin/lsmod
+ ln -svfT ../bin/kmod ${LFS}/sbin/depmod
+ ln -svfT ../bin/kmod ${LFS}/sbin/insmod
+ ln -svfT ../bin/kmod ${LFS}/sbin/modprobe
+ ln -svfT ../bin/kmod ${LFS}/sbin/modinfo
+ ln -svfT ../bin/kmod ${LFS}/sbin/rmmod
}