sys-kernel/decade-sources: fix local patching

This commit is contained in:
Martin Sekera 2021-08-01 01:28:24 +02:00
parent fa497e4c4b
commit 7a9f205ff4

View file

@ -17,7 +17,7 @@ IUSE="experimental"
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree."
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
PATCHES=(
DECADE_PATCHES=(
"${FILESDIR}/add-board-nanopi-m4v2.patch"
"${FILESDIR}/add-csgpio-to-rockchip-spi.patch"
"${FILESDIR}/add-fusb30x-driver.patch"
@ -43,3 +43,12 @@ PATCHES=(
"${FILESDIR}/rk3399-pci-rockchip-support-ep-gpio-undefined-case.patch"
"${FILESDIR}/rk3399-sd-drive-level-8ma.patch"
)
src_prepare() {
for P in ${DECADE_PATCHES}; do
eapply "${P}"
done
kernel-2_src_prepare
}