sys-kernel/decade-sources: fix local patching
This commit is contained in:
parent
fa497e4c4b
commit
7a9f205ff4
1 changed files with 10 additions and 1 deletions
|
@ -17,7 +17,7 @@ IUSE="experimental"
|
||||||
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree."
|
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree."
|
||||||
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
|
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
|
||||||
|
|
||||||
PATCHES=(
|
DECADE_PATCHES=(
|
||||||
"${FILESDIR}/add-board-nanopi-m4v2.patch"
|
"${FILESDIR}/add-board-nanopi-m4v2.patch"
|
||||||
"${FILESDIR}/add-csgpio-to-rockchip-spi.patch"
|
"${FILESDIR}/add-csgpio-to-rockchip-spi.patch"
|
||||||
"${FILESDIR}/add-fusb30x-driver.patch"
|
"${FILESDIR}/add-fusb30x-driver.patch"
|
||||||
|
@ -43,3 +43,12 @@ PATCHES=(
|
||||||
"${FILESDIR}/rk3399-pci-rockchip-support-ep-gpio-undefined-case.patch"
|
"${FILESDIR}/rk3399-pci-rockchip-support-ep-gpio-undefined-case.patch"
|
||||||
"${FILESDIR}/rk3399-sd-drive-level-8ma.patch"
|
"${FILESDIR}/rk3399-sd-drive-level-8ma.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
for P in ${DECADE_PATCHES}; do
|
||||||
|
eapply "${P}"
|
||||||
|
done
|
||||||
|
|
||||||
|
kernel-2_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue