From d76de0c2fb8f6556f9dbdd49ba465d05ee9a143f Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin Date: Fri, 22 May 2020 20:22:53 +0000 Subject: linux-imx-headers: fix imx headers missing in sdk i.MX-specific headers are missing in SDK once generated via image do_populate_sdk task. This was caused by dropped ALLOW_EMPTY package-controlling variable which is required for this recipe in order to indicate that package can have RDEPENDS. Additional RDEPENDS are also required by packages using new mechanisms to include linux-imx-headers, this allows headers to be propagated to the SDK when dependent package is included. Introduce ALLOW_EMPTY in recipe and RDEPENDS in use-imx-headers bbclass to have imx headers to be populated in the SDK. Signed-off-by: Andrey Zhizhikin --- classes/use-imx-headers.bbclass | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'classes/use-imx-headers.bbclass') diff --git a/classes/use-imx-headers.bbclass b/classes/use-imx-headers.bbclass index d2214b6d..fcec68c8 100644 --- a/classes/use-imx-headers.bbclass +++ b/classes/use-imx-headers.bbclass @@ -14,6 +14,12 @@ # Copyright 2018 (C) O.S. Systems Software LTDA. DEPENDS_append_imx = " linux-imx-headers" + +# Set runtime dependency of -dev for package inheriting this class to +# linux-imx-headers-dev package. This is required in order to propagate +# headers into the SDK +RDEPENDS_${PN}-dev += "linux-imx-headers-dev" + PACKAGE_ARCH_imx ?= "${MACHINE_SOCARCH}" STAGING_INCDIR_IMX = "${STAGING_INCDIR}/imx" -- cgit v1.2.3-54-g00ecf