summaryrefslogtreecommitdiff
path: root/zephyr/program/herobrine/BUILD.py
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/program/herobrine/BUILD.py')
-rw-r--r--zephyr/program/herobrine/BUILD.py49
1 files changed, 49 insertions, 0 deletions
diff --git a/zephyr/program/herobrine/BUILD.py b/zephyr/program/herobrine/BUILD.py
new file mode 100644
index 0000000000..0bee6ffe2a
--- /dev/null
+++ b/zephyr/program/herobrine/BUILD.py
@@ -0,0 +1,49 @@
+# Copyright 2021 The ChromiumOS Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""Define zmake projects for herobrine."""
+
+
+def register_variant(
+ project_name,
+):
+ """Register a variant of herobrine."""
+ register_npcx_project(
+ project_name=project_name,
+ zephyr_board="npcx9m3f",
+ dts_overlays=[
+ here / project_name / "project.overlay",
+ ],
+ kconfig_files=[
+ # Common to all projects.
+ here / "program.conf",
+ # Project-specific KConfig customization.
+ here / project_name / "project.conf",
+ ],
+ )
+
+
+register_variant(
+ project_name="evoker",
+)
+
+register_variant(
+ project_name="herobrine",
+)
+
+register_variant(
+ project_name="hoglin",
+)
+
+register_variant(
+ project_name="villager",
+)
+
+register_variant(
+ project_name="zoglin",
+)
+
+register_variant(
+ project_name="zombie",
+)