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
diff --git a/meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/templates/default/bblayers.conf.sample b/meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/templates/default/bblayers.conf.sample
new file mode 100644
index 0000000..71d9e56
--- /dev/null
+++ b/meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/templates/default/bblayers.conf.sample
@@ -0,0 +1,20 @@
+# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
+# changes incompatibly
+LCONF_VERSION = "8"
+
+BBPATH = "${TOPDIR}"
+BBFILES ?= ""
+
+BBLAYERS ?= " \
+  ##OEROOT##/meta \
+  ##OEROOT##/meta-openembedded/meta-oe \
+  ##OEROOT##/meta-openembedded/meta-networking \
+  ##OEROOT##/meta-openembedded/meta-python \
+  ##OEROOT##/meta-phosphor \
+  ##OEROOT##/meta-arm/meta-arm \
+  ##OEROOT##/meta-arm/meta-arm-toolchain \
+  ##OEROOT##/meta-nuvoton \
+  ##OEROOT##/meta-evb \
+  ##OEROOT##/meta-evb/meta-evb-nuvoton \
+  ##OEROOT##/meta-evb/meta-evb-nuvoton/meta-evb-npcm845 \
+  "
diff --git a/meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/templates/default/conf-notes.txt b/meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/templates/default/conf-notes.txt
new file mode 100644
index 0000000..9b3c01a
--- /dev/null
+++ b/meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/templates/default/conf-notes.txt
@@ -0,0 +1,2 @@
+Common targets are:
+     obmc-phosphor-image
diff --git a/meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/templates/default/local.conf.sample b/meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/templates/default/local.conf.sample
new file mode 100644
index 0000000..21aaace
--- /dev/null
+++ b/meta-evb/meta-evb-nuvoton/meta-evb-npcm845/conf/templates/default/local.conf.sample
@@ -0,0 +1,17 @@
+MACHINE ??= "evb-npcm845"
+DISTRO ?= "openbmc-phosphor"
+PACKAGE_CLASSES ?= "package_ipk"
+SANITY_TESTED_DISTROS:append ?= " *"
+EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
+USER_CLASSES ?= "buildstats"
+PATCHRESOLVE = "noop"
+BB_DISKMON_DIRS ??= "\
+    STOPTASKS,${TMPDIR},1G,100K \
+    STOPTASKS,${DL_DIR},1G,100K \
+    STOPTASKS,${SSTATE_DIR},1G,100K \
+    STOPTASKS,/tmp,100M,100K \
+    HALT,${TMPDIR},100M,1K \
+    HALT,${DL_DIR},100M,1K \
+    HALT,${SSTATE_DIR},100M,1K \
+    HALT,/tmp,10M,1K"
+CONF_VERSION = "2"