# Copyright 2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit linux-mod-r1 git-r3 DESCRIPTION="Non-fuse kernel driver for exFat and VFat file systems" HOMEPAGE="https://github.com/barrybingo/exfat-nofuse" EGIT_REPO_URI="https://github.com/barrybingo/exfat-nofuse" LICENSE="GPL-2+" SLOT="0" RDEPEND="!sys-fs/fuse-exfat" DEPEND="${RDEPEND}" MODULE_NAMES="exfat(kernel/fs:${S})" BUILD_TARGETS="all" src_prepare(){ sed -i -e "/^KREL/,2d" Makefile || die "sed failed" default } src_compile(){ BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}" linux-mod_src_compile-r1 }