Created
November 15, 2022 15:14
-
-
Save shimomura1004/9b8dfc37bc22d286e4ee98426e992467 to your computer and use it in GitHub Desktop.
build v4l2loopback for aarch64 target on x64 host
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUMMARY = "V4L2Loopback" | |
DESCRIPTION = "v4l2loopback module" | |
LICENSE = "GPLv2" | |
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | |
SRC_URI = "git://github.com/umlaeute/v4l2loopback.git;protocol=https;branch=main;rev=v0.12.7" | |
S = "${WORKDIR}/git" | |
inherit module | |
export KERNEL_DIR="${KERNEL_SRC}" | |
MODULES_INSTALL_TARGET = "install" | |
RPROVIDES_${PN} += "kernel-module-v4l2loopback" | |
KERNEL_CC = "${CCACHE}${HOST_PREFIX}clang" | |
KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld.lld ${HOST_LD_KERNEL_ARCH}" | |
KERNEL_AR = "${CCACHE}${HOST_PREFIX}llvm-ar ${HOST_AR_KERNEL_ARCH}" | |
TOOLCHAIN="clang" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment