diff options
| -rw-r--r-- | classes/use-imx-headers.bbclass | 6 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-imx-headers_5.4.3.bb | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/classes/use-imx-headers.bbclass b/classes/use-imx-headers.bbclass index d2214b6d1..fcec68c8b 100644 --- a/classes/use-imx-headers.bbclass +++ b/classes/use-imx-headers.bbclass | |||
| @@ -14,6 +14,12 @@ | |||
| 14 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 14 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
| 15 | 15 | ||
| 16 | DEPENDS_append_imx = " linux-imx-headers" | 16 | DEPENDS_append_imx = " linux-imx-headers" |
| 17 | |||
| 18 | # Set runtime dependency of -dev for package inheriting this class to | ||
| 19 | # linux-imx-headers-dev package. This is required in order to propagate | ||
| 20 | # headers into the SDK | ||
| 21 | RDEPENDS_${PN}-dev += "linux-imx-headers-dev" | ||
| 22 | |||
| 17 | PACKAGE_ARCH_imx ?= "${MACHINE_SOCARCH}" | 23 | PACKAGE_ARCH_imx ?= "${MACHINE_SOCARCH}" |
| 18 | 24 | ||
| 19 | STAGING_INCDIR_IMX = "${STAGING_INCDIR}/imx" | 25 | STAGING_INCDIR_IMX = "${STAGING_INCDIR}/imx" |
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() { | |||
| 59 | done | 59 | done |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | # Allow to build empty main package, this is required in order for -dev package | ||
| 63 | # to be propagated into the SDK | ||
| 64 | # | ||
| 65 | # Without this setting the RDEPENDS in other recipes fails to find this | ||
| 66 | # package, therefore causing the -dev package also to be skipped effectively not | ||
| 67 | # populating it into SDK | ||
| 68 | ALLOW_EMPTY_${PN} = "1" | ||
| 69 | |||
| 62 | INHIBIT_DEFAULT_DEPS = "1" | 70 | INHIBIT_DEFAULT_DEPS = "1" |
| 63 | DEPENDS += "unifdef-native bison-native rsync-native" | 71 | DEPENDS += "unifdef-native bison-native rsync-native" |
| 64 | 72 | ||
