Skip to content

Commit 71accbb

Browse files
committed
Remove BOOTLOADER_LOCAL_BUILD env variable
To make local path dependencies work.
1 parent 3938b06 commit 71accbb

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Diff for: .cargo/config.toml

-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
[env]
2-
BOOTLOADER_LOCAL_BUILD = "1"
3-
41
[target.x86_64-unknown-uefi]
52
runner = "cargo run -p runner"

Diff for: build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn build_uefi_bootloader(out_dir: &Path) -> PathBuf {
2020
let cargo = std::env::var("CARGO").unwrap_or_else(|_| "cargo".into());
2121
let mut cmd = Command::new(cargo);
2222
cmd.arg("install").arg("bootloader-x86_64-uefi");
23-
if std::env::var("BOOTLOADER_LOCAL_BUILD").is_ok() && Path::new("uefi").exists() {
23+
if Path::new("uefi").exists() {
2424
// local build
2525
cmd.arg("--path").arg("uefi");
2626
} else {

0 commit comments

Comments
 (0)