aboutsummaryrefslogtreecommitdiff
path: root/bazel.WORKSPACE
blob: bf9552ee220c0e29e0cabf52e9d8da6284e00e33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Call this before define_kleaf_workspace so we
# always prefer the u-boot py_toolchain.
# As a side effect, all u-boot targets, including those that do not need
# this special python, will use this special python.
register_toolchains("//u-boot:py_toolchain")

local_repository(
    name = "swig",
    path = "external/swig",
)

load("//build/kernel/kleaf:workspace.bzl", "define_kleaf_workspace")
define_kleaf_workspace(common_kernel_package = "u-boot")

local_repository(
    name = "gbl",
    path = "bootable/libbootloader/gbl",
)

load("@gbl//integration/aosp_u-boot-mainline:workspace.bzl", "define_gbl_workspace")
define_gbl_workspace()