blob: 9f6b423fffdac337cd6153b53ed4396692336473 [file] [log] [blame]
SUMMARY = "MTK eFuse driver"
SECTION = "Drivers"
LICENSE = "CLOSED"
#LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
inherit module
DEPENDS = "virtual/kernel"
SRC_URI = " \
git://git@github.com/cifsd-team/ksmbd.git;protocol=https;tag=${PV} \
"
#SRC_URI[sha256sum] = "d742992692dbe164060d2a0ea668895ed2b86252f10427db3d3a002df44c445b"
S = "${WORKDIR}/git"
PKG_MAKE_FLAGS = " \
CONFIG_SMB_INSECURE_SERVER=y \
"
EXTRA_OEMAKE = " \
-C ${STAGING_KERNEL_BUILDDIR}/ \
M=${S} \
EXTRA_CFLAGS="-DCONFIG_SMB_INSECURE_SERVER=1" \
${PKG_MAKE_FLAGS} \
CONFIG_SMB_SERVER=m \
"
MAKE_TARGETS = "modules"
#do_make_scripts[depends] += "virtual/kernel:do_shared_workdir"
do_install() {
install -d ${D}/lib/modules/${KERNEL_VERSION}/
install -m 0644 ${B}/ksmbd.ko ${D}/lib/modules/${KERNEL_VERSION}/
}
KERNEL_MODULE_AUTOLOAD += "ksmbd"