libav: add host install, add libs (*.so) to sysroot of toolchain.
This commit is contained in:
parent
b9e2e9c2b8
commit
025dd6001b
@ -15,9 +15,10 @@ md5=\
|
|||||||
|
|
||||||
configure()
|
configure()
|
||||||
{
|
{
|
||||||
|
$cmd_mkdir build
|
||||||
./configure \
|
./configure \
|
||||||
--sysroot="$cfg_dir_toolchain_sysroot" \
|
--sysroot="$cfg_dir_toolchain_sysroot" \
|
||||||
--prefix="$cfg_dir_rootfs/usr" \
|
--prefix="$cfg_dir_builds/libav/libav-$version/build/" \
|
||||||
--cross-prefix="$cfg_target_canonical-" \
|
--cross-prefix="$cfg_target_canonical-" \
|
||||||
--target-os="linux" \
|
--target-os="linux" \
|
||||||
--enable-memalign-hack \
|
--enable-memalign-hack \
|
||||||
@ -32,8 +33,14 @@ build()
|
|||||||
$cmd_make
|
$cmd_make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
host_install()
|
||||||
|
{
|
||||||
|
$cmd_make install
|
||||||
|
$cmd_cp -r "build/"* "$cfg_dir_toolchain_sysroot/usr/"
|
||||||
|
}
|
||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
{
|
{
|
||||||
$cmd_make \
|
$cmd_cp -r "build/"* "$cfg_dir_rootfs/usr/"
|
||||||
install
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user