Remove PREFIX_RUSTC

This commit is contained in:
Jeremy Soller 2020-05-22 16:00:40 -06:00
parent 5be4d46b50
commit 621066cb53
No known key found for this signature in database
GPG key ID: E988B49EE78A7FB1
2 changed files with 7 additions and 12 deletions

View file

@ -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