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/e2fsprogs/default.bash
2014-06-27 22:37:38 +01:00

27 lines
690 B
Bash

source "$pkg_common"
configure()
{
$cmd_make distclean
export CC=$cmd_target_cc
export CROSS_COMPILE=$cfg_target_canonical
"../e2fsprogs-$version/configure" \
--prefix="$cfg_dir_rootfs" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--disable-nls
}
build()
{
$cmd_make
}
target_install()
{
$cmd_target_strip --strip-unneeded ../e2fsprogs-$version/e2fsck/e2fsck -o $cfg_dir_rootfs/sbin/e2fsck &&
$cmd_target_strip --strip-unneeded ../e2fsprogs-$version/misc/mke2fs -o $cfg_dir_rootfs/sbin/mke2fs &&
$cmd_target_strip --strip-unneeded ../e2fsprogs-$version/misc/tune2fs -o $cfg_dir_rootfs/sbin/tune2fs
}