d0edfec1e2
Commit 2eaa6d0f36
(boot/uboot: fix uboot building host tools on x86
architecture) added use of $(PKG_CONFIG_HOST_BINARY), but forgot to add
the corresponding build-ordr dependency.
Add this missing depenency now.
Additionally, the associated test had an explicit host pkgconf enbled in
its configuration. This is superfluous now that uboot properly depends
on host-pkgconf, so drop that from the test.
Note: it hapenned to work, because host-pkgconf, when explicitly enabled
in the configuration, and without per-package directories, would build
before uboot and thus be available. This would fail with PPD, though,
and thus would break for TLPB.
Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
20 lines
501 B
Python
20 lines
501 B
Python
import os
|
|
|
|
import infra.basetest
|
|
|
|
|
|
class TestUbootOpensslPkgConfig(infra.basetest.BRTest):
|
|
config = infra.basetest.MINIMAL_CONFIG + \
|
|
"""
|
|
BR2_x86_64=y
|
|
BR2_x86_atom=y
|
|
BR2_PACKAGE_OPENSSL=y
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="efi-x86_payload64"
|
|
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
|
|
"""
|
|
|
|
def test_run(self):
|
|
img = os.path.join(self.builddir, "images", "u-boot.bin")
|
|
self.assertTrue(os.path.exists(img))
|