mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
config_functions: add kernel_make
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
d772d0aef2
commit
423242fda6
@ -263,6 +263,18 @@ kernel_config_path() {
|
||||
done
|
||||
}
|
||||
|
||||
kernel_make() {
|
||||
LDFLAGS="" make CROSS_COMPILE=$TARGET_KERNEL_PREFIX \
|
||||
ARCH="$TARGET_KERNEL_ARCH" \
|
||||
HOSTCC="$TOOLCHAIN/bin/host-gcc" \
|
||||
HOSTCXX="$TOOLCHAIN/bin/host-g++" \
|
||||
HOSTCFLAGS="$HOST_CFLAGS" \
|
||||
HOSTLDFLAGS="$HOST_LDFLAGS" \
|
||||
HOSTCXXFLAGS="$HOST_CXXFLAGS" \
|
||||
DEPMOD="$TOOLCHAIN/bin/depmod" \
|
||||
"$@"
|
||||
}
|
||||
|
||||
# get kernel module dir
|
||||
get_module_dir() {
|
||||
if [ -n "${_CACHED_KERNEL_MODULE_DIR}" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user