DISTRO = "hvmpd"
DISTRO_NAME = "HV MPD distribution"
+# Use include instead of require as these are optional
+# depending on the particular machine:
+include raspberrypi/conf/machine/${MACHINE}-extra.conf
+include wandboard/conf/machine/${MACHINE}-extra.conf
+
# Declare that we want to be treated like poky:
DISTROOVERRIDES =. "poky:"
LAYERDEPENDS_meta-hvmpd-distro = "core"
LAYERSERIES_COMPAT_meta-hvmpd-distro = "kirkstone"
+
+# Add board-specific directories:
+BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.%s' % (layer, ext) \
+ for layer in '${BBFILE_COLLECTIONS}'.split() for ext in ['bb', 'bbappend'])}"