From 4ffac94ed18c8701511385dcfc363a3051855fd7 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 25 Feb 2021 18:15:09 +0100 Subject: spidev-test: complete change license check Fix dependencies to prevent a possible race which provokes the following build failure: | WARNING: spidev-test-1.0-r0 do_populate_lic: Could not copy license file ...work-shared/colibri-imx8x/kernel-source/tools/spi/spidev_test.c ... [Errno 2] No such file or directory: | ERROR: spidev-test-1.0-r0 do_populate_lic: QA Issue: spidev-test: LIC_FILES_CHKSUM points to an invalid file Commit 8b6a847 ("spidev-test: drop support for older kernel and change license check") checks the license from the shared kernel sources. Make sure that these are available before accessing those files. Signed-off-by: Max Krummenacher --- recipes-devtools/spidev-test/spidev-test.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-devtools/spidev-test/spidev-test.bb b/recipes-devtools/spidev-test/spidev-test.bb index b9d9ad9..9fd6ab7 100644 --- a/recipes-devtools/spidev-test/spidev-test.bb +++ b/recipes-devtools/spidev-test/spidev-test.bb @@ -6,6 +6,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" S = "${WORKDIR}" do_configure[depends] += "virtual/kernel:do_shared_workdir" +do_populate_lic[depends] += "virtual/kernel:do_shared_workdir" KERNELPATH = "tools/spi/spidev_test.c" -- cgit v1.2.3