Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit f91e5f3

Browse files
committed
fix: typo
1 parent f59b0f3 commit f91e5f3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ FAT_IMG := $(BUILD_DIR)/fat.img
2727
INITRD := $(BUILD_DIR)/initrd.img
2828

2929
LD := ld
30-
RUSTCC := cargo
30+
RUSTC := cargo
3131
RM := rm -rf
3232
VIEWER := qemu-system-x86_64
3333

@@ -90,14 +90,14 @@ $(LIB_FILE): $(RUST_SRC) $(COMMON_SRC) $(COMMON_SRC_DIR)/$(CARGO_TOML) $(KERNEL_
9090
# FIXME: Currently `cargo` tries to read `$(pwd)/.cargo/config.toml`, not
9191
# `$(dirname argument_of_--manifest-path)/.cargo/config.toml`.
9292
# See: https://github.com/rust-lang/cargo/issues/2930
93-
cd $(KERNEL_DIR) && $(RUSTCC) build --out-dir ../$(BUILD_DIR) -Z unstable-options $(TEST_FLAG) $(RUSTCFLAGS)
93+
cd $(KERNEL_DIR) && $(RUSTC) build --out-dir ../$(BUILD_DIR) -Z unstable-options $(TEST_FLAG) $(RUSTCFLAGS)
9494

9595
%.fd:
9696
@echo "$@ not found"
9797
exit 1
9898

9999
$(EFI_FILE):$(EFI_SRC) $(COMMON_SRC) $(COMMON_SRC_DIR)/$(CARGO_TOML) $(EFI_DIR)/$(CARGO_TOML)|$(BUILD_DIR)
100-
cd $(EFI_DIR) && $(RUSTCC) build --out-dir=../$(BUILD_DIR) -Z unstable-options $(RUSTCFLAGS)
100+
cd $(EFI_DIR) && $(RUSTC) build --out-dir=../$(BUILD_DIR) -Z unstable-options $(RUSTCFLAGS)
101101

102102
$(INITRD):|$(BUILD_DIR)
103103
tar cf $@ $(BUILD_DIR)
@@ -110,5 +110,5 @@ clippy:
110110

111111
clean:
112112
$(RM) build
113-
$(RUSTCC) clean --manifest-path=$(KERNEL_DIR)/Cargo.toml
114-
$(RUSTCC) clean --manifest-path=$(EFI_DIR)/Cargo.toml
113+
$(RUSTC) clean --manifest-path=$(KERNEL_DIR)/Cargo.toml
114+
$(RUSTC) clean --manifest-path=$(EFI_DIR)/Cargo.toml

0 commit comments

Comments
 (0)