When user runs `make clean` command, everything in `$(STAGING_DIR)`
(where we installed rust) will be removed, but `$(BUILD_DIR_HOST)`
(where we compiled rust and stored build stage) is untouched.
So when user starts a new build after that, OpenWrt buildroot will
still consider `rust` is installed already, resulting the build error
"cargo: command not found".
Fix this by moving to target build dir as well.
Fixes:
|
||
---|---|---|
.. | ||
files | ||
patches | ||
Makefile | ||
rust-host-build.mk | ||
rust-package.mk | ||
rust-values.mk |