diff --git a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild index 74c7143..9003db8 100644 --- a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild +++ b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild @@ -31,19 +31,20 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.10/0012-ath10k-firmware-override.patch " src_prepare() { - eapply -p2 "${FILESDIR}/Makefile.patch" - eapply -p2 "${DISTDIR}/0001-surface3-oemb.patch" - eapply -p2 "${DISTDIR}/0002-wifi.patch" - eapply -p2 "${DISTDIR}/0003-ipts.patch" - eapply -p2 "${DISTDIR}/0004-surface-gpe.patch" - eapply -p2 "${DISTDIR}/0005-surface-sam-over-hid.patch" - eapply -p2 "${DISTDIR}/0006-surface-sam.patch" - eapply -p2 "${DISTDIR}/0007-surface-hotplug.patch" - eapply -p2 "${DISTDIR}/0008-surface-typecover.patch" - eapply -p2 "${DISTDIR}/0009-surface-go-touchscreen.patch" - eapply -p2 "${DISTDIR}/0010-surface-sensors.patch" - eapply -p2 "${DISTDIR}/0011-cameras.patch" - eapply -p2 "${DISTDIR}/0012-ath10k-firmware-override.patch" + cd "{$WORKDIR}/linux-${KV_FULL}" + eapply "${FILESDIR}/Makefile.patch" + eapply "${DISTDIR}/0001-surface3-oemb.patch" + eapply "${DISTDIR}/0002-wifi.patch" + eapply "${DISTDIR}/0003-ipts.patch" + eapply "${DISTDIR}/0004-surface-gpe.patch" + eapply "${DISTDIR}/0005-surface-sam-over-hid.patch" + eapply "${DISTDIR}/0006-surface-sam.patch" + eapply "${DISTDIR}/0007-surface-hotplug.patch" + eapply "${DISTDIR}/0008-surface-typecover.patch" + eapply "${DISTDIR}/0009-surface-go-touchscreen.patch" + eapply "${DISTDIR}/0010-surface-sensors.patch" + eapply "${DISTDIR}/0011-cameras.patch" + eapply "${DISTDIR}/0012-ath10k-firmware-override.patch" mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface" }