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 --- recipes-kernel/linux/linux-imx-headers_5.4.3.bb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/linux-imx-headers_5.4.3.bb b/recipes-kernel/linux/linux-imx-headers_5.4.3.bb index 8d52233db..4257c41a7 100644 --- a/recipes-kernel/linux/linux-imx-headers_5.4.3.bb +++ b/recipes-kernel/linux/linux-imx-headers_5.4.3.bb @@ -59,6 +59,14 @@ do_install() { done } +# Allow to build empty main package, this is required in order for -dev package +# to be propagated into the SDK +# +# Without this setting the RDEPENDS in other recipes fails to find this +# package, therefore causing the -dev package also to be skipped effectively not +# populating it into SDK +ALLOW_EMPTY_${PN} = "1" + INHIBIT_DEFAULT_DEPS = "1" DEPENDS += "unifdef-native bison-native rsync-native" -- cgit v1.2.3-54-g00ecf