Set use PREFIX_RUSTC when using PREFIX_BINARY
This commit is contained in:
parent
b1199b900f
commit
344f9b3044
2 changed files with 6 additions and 7 deletions
|
@ -6,7 +6,11 @@ PREFIX_INSTALL=$(PREFIX)/relibc-install
|
|||
|
||||
ifeq ($(PREFIX_RUSTC),1)
|
||||
PREFIX_BASE_INSTALL=$(PREFIX)/rust-freestanding-install
|
||||
export RUSTUP_TOOLCHAIN=$(ROOT)/$(PREFIX)/rust-freestanding-install
|
||||
ifeq ($(PREFIX_BINARY),1)
|
||||
export RUSTUP_TOOLCHAIN=$(ROOT)/$(PREFIX)/gcc-install
|
||||
else
|
||||
export RUSTUP_TOOLCHAIN=$(ROOT)/$(PREFIX)/rust-freestanding-install
|
||||
endif
|
||||
endif
|
||||
|
||||
PREFIX_BASE_PATH=$(ROOT)/$(PREFIX_BASE_INSTALL)/bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue