summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/ring0/pagetables/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/platform/ring0/pagetables/BUILD')
-rw-r--r--pkg/sentry/platform/ring0/pagetables/BUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/sentry/platform/ring0/pagetables/BUILD b/pkg/sentry/platform/ring0/pagetables/BUILD
index e2e15ba5c..09ecc3b09 100644
--- a/pkg/sentry/platform/ring0/pagetables/BUILD
+++ b/pkg/sentry/platform/ring0/pagetables/BUILD
@@ -11,7 +11,10 @@ config_setting(
go_template(
name = "generic_walker",
- srcs = ["walker_amd64.go"],
+ srcs = select({
+ ":aarch64": ["walker_arm64.go",],
+ "//conditions:default": ["walker_amd64.go",],
+ }),
opt_types = [
"Visitor",
],