Skip to content

Commit ea969b1

Browse files
committed
Added dependency for sh_binary and fixed BUILD file
1 parent 3b7c8ad commit ea969b1

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

qnx_qemu/BUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
13-
13+
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
1414

1515

1616
sh_binary(
@@ -49,7 +49,7 @@ sh_binary(
4949
"$(location @toolchains_qnx_sdp//:host_dir)",
5050
"$(location //build:init)",
5151
"--timeout=90",
52-
"--ssh-port=2222",
52+
"--ssh-port=2222",
5353
"--boot-wait=15",
5454
],
5555
data = [
@@ -66,7 +66,7 @@ sh_binary(
6666
"$(location @toolchains_qnx_sdp//:host_dir)",
6767
"$(location //build:init)",
6868
"--timeout=90",
69-
"--ssh-port=2222",
69+
"--ssh-port=2222",
7070
"--boot-wait=15",
7171
],
7272
data = [

qnx_qemu/MODULE.bazel

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,11 @@ use_repo(toolchains_qnx, "toolchains_qnx_qcc")
3030
use_repo(toolchains_qnx, "toolchains_qnx_ifs")
3131

3232
register_toolchains("@toolchains_qnx_qcc//:qcc_x86_64")
33-
3433
register_toolchains("@toolchains_qnx_ifs//:ifs_x86_64")
34+
35+
###############################################################################
36+
#
37+
# Shell dependency
38+
#
39+
###############################################################################
40+
bazel_dep(name = "rules_shell", version = "0.6.0")

0 commit comments

Comments
 (0)