yet more patch testing.

This commit is contained in:
Ronald Farrer 2021-08-04 08:57:59 -07:00
parent 458ae3d8d3
commit 727343253c

View file

@ -30,26 +30,29 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0010-amd-gpio.patch
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0011-amd-s0ix.patch"
src_prepare() {
src_unpack() {
default
unpack_set_extraversion
#echo "S=$S"; pwd; ls -la ; find -name surface3-wmi.c -ls
#eapply "${DISTDIR}/0001-surface3-oemb.patch"
#eapply "${DISTDIR}/0002-mwifiex.patch"
#eapply "${DISTDIR}/0003-ath10k.patch"
#eapply "${DISTDIR}/0004-ipts.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-cameras.patch"
#eapply "${DISTDIR}/0010-amd-gpio.patch"
#eapply "${DISTDIR}/0011-amd-s0ix.patch"
#eapply_user
mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface"
S="${WORKDIR}/linux-${KV_FULL}-surface"
}
src_prepare() {
#echo "S=$S"; pwd; ls -la ; find -name surface3-wmi.c -ls
eapply "${DISTDIR}/0001-surface3-oemb.patch"
eapply "${DISTDIR}/0002-mwifiex.patch"
eapply "${DISTDIR}/0003-ath10k.patch"
eapply "${DISTDIR}/0004-ipts.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-cameras.patch"
eapply "${DISTDIR}/0010-amd-gpio.patch"
eapply "${DISTDIR}/0011-amd-s0ix.patch"
eapply_user
}
pkg_setup() {
ewarn ""
ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."