Ensure that REDOXER_TOOLCHAIN is set for all makefile targets
This commit is contained in:
parent
4935d9f800
commit
17bf88b390
|
@ -51,7 +51,6 @@ KBUILD=build/kernel
|
|||
export TARGET=$(ARCH)-unknown-redox
|
||||
BUILD=build/userspace
|
||||
INSTALLER=\
|
||||
export REDOXER_TOOLCHAIN="$(ROOT)/$(PREFIX_INSTALL)" && \
|
||||
export PATH="$(PREFIX_PATH):$$PATH" && \
|
||||
installer/target/release/redox_installer $(INSTALLER_FLAGS)
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ PREFIX_PATH=$(ROOT)/$(PREFIX_INSTALL)/bin
|
|||
|
||||
export PREFIX_RUSTFLAGS=-L $(ROOT)/$(PREFIX_INSTALL)/$(TARGET)/lib
|
||||
export RUSTUP_TOOLCHAIN=$(ROOT)/$(PREFIX_INSTALL)
|
||||
export REDOXER_TOOLCHAIN=$(RUSTUP_TOOLCHAIN)
|
||||
|
||||
prefix: $(PREFIX_INSTALL)
|
||||
|
||||
|
|
Loading…
Reference in a new issue