From 1a0ab0bfd99f122f913c5d64cd83792af7b35822 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Mon, 21 Jun 2021 15:07:05 +0100 Subject: [PATCH] allscenarios-zephyr-blueprint-dashboard.conf: Define Zephyr-specific DISTRO for Smart Panel Blueprint This has two advantages: 1. it fixes the build by removing the BBMASK configuration done in the main distro configuration files 2. it also provides default MAC addresses in sync with the Linux counterparts Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- ...lscenarios-zephyr-blueprint-dashboard.conf | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-ohos-blueprints/conf/distro/allscenarios-zephyr-blueprint-dashboard.conf diff --git a/meta-ohos-blueprints/conf/distro/allscenarios-zephyr-blueprint-dashboard.conf b/meta-ohos-blueprints/conf/distro/allscenarios-zephyr-blueprint-dashboard.conf new file mode 100644 index 00000000..ff2dfc55 --- /dev/null +++ b/meta-ohos-blueprints/conf/distro/allscenarios-zephyr-blueprint-dashboard.conf @@ -0,0 +1,21 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +# Distro configuration for the dashboard blueprint + +require conf/distro/allscenarios-zephyr.conf + +DISTRO = "allscenarios-zephyr-blueprint-dashboard" +DISTRO_NAME = "AllScenariOS Dashboard Blueprint Zephyr Distro" + +# With our layer setup we would add any bbappend found from our +# layers.conf. This means blueprint-specific appends would leak +# into the package in our main distribution. To avoid this we +# mask out the blueprint layers in the main distro and unmask +# them only the blueprint distributions. +BBMASK = "" + +# SmartHome IoT devices BLE interfaces MAC addresses +SMART_HOME_SENSORS_MAC ??= "C0:BA:DD:06:F0:0D" +SMART_HOME_SWITCH_MAC ??= "C0:BA:DD:06:F0:0E" -- GitLab