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/linux-headers/cross.bash
2020-09-16 16:09:29 +01:00

35 lines
512 B
Bash

version=\
(
'5.8.7'
)
url=\
(
"https://www.kernel.org/pub/linux/kernel/v5.x/linux-$version.tar.xz"
)
md5=\
(
'5353de56bf4621a35afc4384c7e51f30'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
configure()
{
$cmd_make -C "../linux-$version" \
ARCH="$cfg_target_linux" \
distclean mrproper
}
host_install()
{
$cmd_make -C "../linux-$version" \
ARCH="$cfg_target_linux" \
INSTALL_HDR_PATH="$cfg_dir_toolchain_sysroot/usr" \
headers_install
}