mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 04:44:19 +08:00
Remove PREFIX_RUSTC
This commit is contained in:
parent
5be4d46b50
commit
621066cb53
@ -5,8 +5,6 @@ ARCH?=x86_64
|
||||
INSTALLER_FLAGS?=--cookbook=cookbook
|
||||
## Enabled to use binary prefix (much faster)
|
||||
PREFIX_BINARY?=1
|
||||
## Enabled to build custom rustc
|
||||
PREFIX_RUSTC?=1
|
||||
## Filesystem size in MB (256 is the default)
|
||||
FILESYSTEM_SIZE?=256
|
||||
|
||||
|
||||
17
mk/prefix.mk
17
mk/prefix.mk
@ -1,18 +1,15 @@
|
||||
PREFIX=prefix/$(TARGET)
|
||||
|
||||
PREFIX_BASE_INSTALL=$(PREFIX)/binutils-install
|
||||
PREFIX_BASE_INSTALL=$(PREFIX)/rust-freestanding-install
|
||||
PREFIX_FREESTANDING_INSTALL=$(PREFIX)/gcc-freestanding-install
|
||||
PREFIX_INSTALL=$(PREFIX)/relibc-install
|
||||
PREFIX_RELIBC_BASE=$(PREFIX)/gcc-install
|
||||
|
||||
ifeq ($(PREFIX_RUSTC),1)
|
||||
PREFIX_BASE_INSTALL=$(PREFIX)/rust-freestanding-install
|
||||
ifeq ($(PREFIX_BINARY),1)
|
||||
export RUSTUP_TOOLCHAIN=$(ROOT)/$(PREFIX)/gcc-install
|
||||
PREFIX_RELIBC_BASE=$(PREFIX)/rust-install
|
||||
else
|
||||
export RUSTUP_TOOLCHAIN=$(ROOT)/$(PREFIX)/rust-freestanding-install
|
||||
endif
|
||||
ifeq ($(PREFIX_BINARY),1)
|
||||
PREFIX_RELIBC_BASE=$(PREFIX)/rust-install
|
||||
export RUSTUP_TOOLCHAIN=$(ROOT)/$(PREFIX)/gcc-install
|
||||
else
|
||||
PREFIX_RELIBC_BASE=$(PREFIX)/gcc-install
|
||||
export RUSTUP_TOOLCHAIN=$(ROOT)/$(PREFIX)/rust-freestanding-install
|
||||
endif
|
||||
|
||||
PREFIX_BASE_PATH=$(ROOT)/$(PREFIX_BASE_INSTALL)/bin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user