yet more patch testing (5).

This commit is contained in:
Ronald Farrer 2021-08-04 09:57:27 -07:00
parent 6700a9a6d6
commit d1bbf48825

View file

@ -30,31 +30,27 @@ 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
}
src_prepare() {
mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface"
S="${WORKDIR}/linux-${KV_FULL}-surface"
#echo "S=$S"; pwd; ls -la ; find -name surface3-wmi.c -ls
local SURFACE_PATCH
local SURFACE_PATCHES="
${DISTDIR}/0001-surface3-oemb.patch
${DISTDIR}/0002-mwifiex.patch
${DISTDIR}/0003-ath10k.patch
${DISTDIR}/0004-ipts.patch
${DISTDIR}/0005-surface-sam-over-hid.patch
${DISTDIR}/0006-surface-sam.patch
${DISTDIR}/0007-surface-hotplug.patch
${DISTDIR}/0008-surface-typecover.patch
${DISTDIR}/0009-cameras.patch
${DISTDIR}/0010-amd-gpio.patch
${DISTDIR}/0011-amd-s0ix.patch"
local SURFACE_PATH="${WORKDIR}/linux-${KV_FULL}"
for SURFACE_PATCH in $SURFACE_PATCHES
do
eapply "${SURFACE_PATH}/${SURFACE_PATCH}"
done
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
}