diff options
Diffstat (limited to 'classes/use-imx-headers.bbclass')
-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" | ||