summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/use-imx-headers.bbclass19
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
16DEPENDS_append_imx = " linux-imx-headers"
17PACKAGE_ARCH_imx ?= "${MACHINE_SOCARCH}"
18
19STAGING_INCDIR_IMX = "${STAGING_INCDIR}/imx"