summaryrefslogtreecommitdiff
path: root/zephyr/program/herobrine/BUILD.py
blob: 302262fc21b51bdef742b71b56aba644fc83ef8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# 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",
        ],
        inherited_from=["herobrine"],
    )


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",
)