diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2021-02-25 18:15:09 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2021-02-25 18:16:03 +0100 |
commit | 4ffac94ed18c8701511385dcfc363a3051855fd7 (patch) | |
tree | 23bc33aa5d3075e6b32d306697077cc9ab4daf5c | |
parent | 8b6a847c7cd879f2d77452321eae3e0f5d8c6b41 (diff) |
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 <max.krummenacher@toradex.com>
-rw-r--r-- | recipes-devtools/spidev-test/spidev-test.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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" |