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

35 lines
513 B
Bash

version=\
(
'4.4.66'
)
url=\
(
"https://www.kernel.org/pub/linux/kernel/v4.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
}