diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2018-10-25 22:44:12 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-10-26 14:23:37 -0300 |
commit | bc937ade566528cc097c9321694c0f5f5ef8cbf6 (patch) | |
tree | ce4a1a56a5082f9c5f6d849963f5bbef4f993733 /classes | |
parent | 700abd5d1b9ce55de5c62a8d0a82c08aa6cd6897 (diff) | |
download | meta-freescale-bc937ade566528cc097c9321694c0f5f5ef8cbf6.tar.gz |
classes/use-imx-headers: Easy linux-imx-headers use
This allow to easy reuse of binary packages among similar SoCs. The
usual use for this is to share SoC specific packages among different
boards independently of the kernel version it is using, as far it is
ABI compatible with the official version it will just work.
Following recipes has been reworked to make use of the class:
- imx-lib
- imx-test
- imx-vpu-hantro
- imx-vpu
- imx-alsa-plugins
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-imx
- imx-gst1.0-plugin
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/use-imx-headers.bbclass | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/classes/use-imx-headers.bbclass b/classes/use-imx-headers.bbclass new file mode 100644 index 00000000..9dcd864d --- /dev/null +++ b/classes/use-imx-headers.bbclass | |||
@@ -0,0 +1,19 @@ | |||
1 | # Easy use of linux-imx-headers by packages | ||
2 | # | ||
3 | # This allow to easy reuse of binary packages among similar SoCs. The | ||
4 | # usual use for this is to share SoC specific packages among different | ||
5 | # boards independently of the kernel version it is using, as far it is | ||
6 | # ABI compatible with the official version it will just work. | ||
7 | # | ||
8 | # All recipes using this class ought to depend on linux-imx-headers | ||
9 | # and by default to use MACHINE_SOCARCH. | ||
10 | # | ||
11 | # Please use the STAGING_INCDIR_IMX variable to refer to the installed | ||
12 | # headers. | ||
13 | # | ||
14 | # Copyright 2018 (C) O.S. Systems Software LTDA. | ||
15 | |||
16 | DEPENDS_append_imx = " linux-imx-headers" | ||
17 | PACKAGE_ARCH_imx ?= "${MACHINE_SOCARCH}" | ||
18 | |||
19 | STAGING_INCDIR_IMX = "${STAGING_INCDIR}/imx" | ||