Age | Commit message (Collapse) | Author |
|
All others can/will use the generic recipe now available at
meta-openembedded/meta-oe/recipes-kernel/spidev-test/spidev-test.bb
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Cater for updated license file.
Fixes: openembedded-core commit 5ecf139a31fa
("licenses: Update license file to match current SPDX names")
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
This reverts commit 8b6a847c7cd879f2d77452321eae3e0f5d8c6b41.
|
|
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>
|
|
The source file in the kernel moved with kernel 4.5. Drop support
for older kernels.
Upstream commit 2456f523cf ("licenses: Update license file to match
current SPDX names") deprecated the usage of GPL-2.0 SPDX identifier,
removed GPL-2.0 license file and replaced it with GPL-2.0-only SPDX
identifier and text file.
Rather than pointing to the new generic file rework to check the license
from the SPDX header in the source file.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
spidev-test.c was moved in the kernel sources with v4.5.y kernels.
Check both possible locations.
Prevent the following error by providing OE LDFLAGS:
| ERROR: spidev-test-1.0-r0 do_package_qa: QA Issue: No GNU_HASH in the ELF binary .../usr/bin/spidev_test, didn't pass LDFLAGS? [ldflags]
Related-to ELB-1284
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 5c5bd215ad98d45176f824e55dd56e759f70b27a)
|
|
Related-to: ELB-1284
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|