summaryrefslogtreecommitdiff
path: root/meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/layer.conf
diff options
context:
space:
mode:
authorTim Lee <timlee660101@gmail.com>2022-10-06 12:15:49 +0300
committerTim Lee <chli30@nuvoton.com>2022-11-16 04:31:32 +0300
commit85c187e9a14110d8a7a1745990a4acc817a8ac3c (patch)
tree2a14d47a341e3328e05cf10d6bb418e551f8b8c6 /meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/layer.conf
parentfb0f38e11334e276e6b13f51d4bf588639cc0ad1 (diff)
downloadopenbmc-85c187e9a14110d8a7a1745990a4acc817a8ac3c.tar.xz
meta-evb-nuvoton: add meta-evb-npcm845 layer for Arbel EVB
Create meta-evb-npcm845 layer under meta-evb-nuvoton then make "setup" script looks for machine config files being present to know that the meta-layer contains a valid machine for OpenBMC. Also add symlinks for the machine config files from meta-nuvoton into meta-evb-nuvoton so that setup recognizes them as valid machines, but using the phosphor layers. Tested: /openbmc$ . setup evb-npcm845 Machine evb-npcm845 found in meta-evb/meta-evb-nuvoton/meta-evb-npcm845 Common targets are: obmc-phosphor-image Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I21de23ded94244bed52c571a8e68b38cf498fc54
Diffstat (limited to 'meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/layer.conf')
-rw-r--r--meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/layer.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/layer.conf b/meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/layer.conf
new file mode 100644
index 0000000000..a1959ccc2a
--- /dev/null
+++ b/meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/layer.conf
@@ -0,0 +1,10 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "evb-npcm845"
+BBFILE_PATTERN_evb-npcm845 = "^${LAYERDIR}/"
+LAYERSERIES_COMPAT_evb-npcm845 = "kirkstone langdale"