This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/util-linux/default.bash

30 lines
662 B
Bash
Raw Normal View History

source "$pkg_common"
2013-07-13 17:19:22 +01:00
configure()
{
./configure \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--build="${cfg_host_canonical}" \
--host="${cfg_target_canonical}" \
--disable-wall
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
$cmd_cp "${cfg_dir_toolchain_sysroot}/usr/lib/"libuuid.so* "${cfg_dir_rootfs}/usr/lib/"
$cmd_cp "${cfg_dir_toolchain_sysroot}/usr/lib/"libblkid.so* "${cfg_dir_rootfs}/usr/lib/"
$cmd_cp "${cfg_dir_toolchain_sysroot}/usr/lib/"libmount.so* "${cfg_dir_rootfs}/usr/lib/"
# More to do with the tools in /usr/bin/
}