Skip to content

Commit 00eca1a

Browse files
committed
Fix to install rsictl directly from the git
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
1 parent e03326a commit 00eca1a

File tree

9 files changed

+6
-59
lines changed

9 files changed

+6
-59
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
- name: Check local packages and all of its dependencies for errors
150150
run: >
151151
cargo check --workspace
152-
--exclude islet_sdk --exclude rsictl
152+
--exclude islet_sdk
153153
--exclude ciborium
154154
--exclude islet_mc_harnesses
155155

.gitmodules

-3
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,3 @@
7373
[submodule "third-party/dtc"]
7474
path = third-party/dtc
7575
url = https://git.kernel.org/pub/scm/utils/dtc/dtc.git
76-
[submodule "tools/rsictl"]
77-
path = tools/rsictl
78-
url = https://github.com/islet-project/rsictl.git

Cargo.lock

-48
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ members = [
1111
"realm/rsi-test",
1212
"rmm/",
1313
"sdk",
14-
"tools/rsictl",
1514
]
1615

1716
[profile.dev]

realm/linux-rsi/Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ export PATH := ${ROOT}/assets/toolchain/aarch64-none-linux-gnu/bin:${PATH}
77
export CROSS_COMPILE := aarch64-none-linux-gnu-
88
export ARCH := arm64
99

10-
CMDLINE = ${ROOT}/tools/rsictl
10+
CMDLINE = https://github.com/islet-project/rsictl.git
1111
HEADERS = rsi.h
12+
CONFIG_ARM = --config target.aarch64-unknown-linux-gnu.linker='"aarch64-none-linux-gnu-gcc"' \
13+
--config target.aarch64-unknown-linux-gnu.rustflags='[ "-C", "target-feature=+crt-static" ]'
14+
TARGET_ARM = aarch64-unknown-linux-gnu
1215

1316
obj-m += rsi.o
1417

@@ -19,7 +22,7 @@ module: ${HEADERS}
1922
cp rsi.ko ${SHARED_DIR}
2023

2124
cmdline:
22-
cargo install --path "${CMDLINE}" --root "${SHARED_DIR}" --target aarch64-unknown-linux-gnu
25+
cargo install ${CONFIG_ARM} --git "${CMDLINE}" --root "${SHARED_DIR}" --target ${TARGET_ARM}
2326

2427
clean:
2528
make -C ${KERNEL_DIR} M=${HERE} clean

scripts/deps/assets.sh

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ ROOT=$(git rev-parse --show-toplevel)
77
cd $ROOT && git submodule update --init --depth 1 assets
88
git submodule update --init --depth 1 $ROOT/third-party/ciborium
99
git submodule update --init --depth 1 $ROOT/third-party/coset
10-
git submodule update --init --depth 1 $ROOT/tools/rsictl

scripts/init_min.sh

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ git submodule update --init --depth 1 $ROOT/assets
1212
git submodule update --init --depth 1 $ROOT/third-party/tf-a
1313
git submodule update --init --depth 1 $ROOT/third-party/ciborium
1414
git submodule update --init --depth 1 $ROOT/third-party/coset
15-
git submodule update --init --depth 1 $ROOT/tools/rsictl
1615

1716
# Install rust
1817
$HERE/deps/rust.sh

scripts/init_min_acs.sh

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ git submodule update --init --depth 1 $ROOT/third-party/tf-a
1313
git submodule update --init --depth 1 $ROOT/third-party/cca-rmm-acs
1414
git submodule update --init --depth 1 $ROOT/third-party/ciborium
1515
git submodule update --init --depth 1 $ROOT/third-party/coset
16-
git submodule update --init --depth 1 $ROOT/tools/rsictl
1716

1817
# Install rust (min)
1918
$HERE/deps/rust_min.sh

tools/rsictl

-1
This file was deleted.

0 commit comments

Comments
 (0)