externalsrc: fix support in various components

Affected components:
 - cpupower
 - intel-speed-select
 - spidev-test

When the externalsrc class is used the tasks listed in SRCTREECOVEREDTASKS
are deleted to prevent them being executed. If externalsrc is used for
the kernel then this will include virtual/kernel:do_patch.

Signed-off-by: Andrej Valek <andrej.v@skyrain.eu>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Andrej Valek 2024-10-09 13:15:16 +02:00 committed by Khem Raj
parent b20be52a4e
commit 6f55248a59
No known key found for this signature in database
GPG Key ID: BB053355919D3314
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ PROVIDES = "virtual/cpupower"
inherit kernelsrc kernel-arch bash-completion inherit kernelsrc kernel-arch bash-completion
do_populate_lic[depends] += "virtual/kernel:do_patch" do_populate_lic[depends] += "virtual/kernel:do_shared_workdir"
EXTRA_OEMAKE = "-C ${S}/tools/power/cpupower O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}" EXTRA_OEMAKE = "-C ${S}/tools/power/cpupower O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"

View File

@ -13,7 +13,7 @@ COMPATIBLE_HOST:libc-musl = 'null'
DEPENDS = "libnl" DEPENDS = "libnl"
do_populate_lic[depends] += "virtual/kernel:do_patch" do_populate_lic[depends] += "virtual/kernel:do_shared_workdir"
B = "${WORKDIR}/${BPN}-${PV}" B = "${WORKDIR}/${BPN}-${PV}"

View File

@ -6,7 +6,7 @@ PROVIDES = "virtual/spidev-test"
inherit bash-completion kernelsrc kernel-arch inherit bash-completion kernelsrc kernel-arch
do_populate_lic[depends] += "virtual/kernel:do_patch" do_populate_lic[depends] += "virtual/kernel:do_shared_workdir"
EXTRA_OEMAKE = "-C ${S}/tools/spi O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}" EXTRA_OEMAKE = "-C ${S}/tools/spi O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"