Closed rivendell1984 closed 1 year ago
With SOURCE command, "dirname $0" can't get the right shell folder, so the riscv64 config won't be copied to .config. It will use default arm toolchain config to compile. Use $BASH_SOURCE instead of $0 will get the right shell folder.
Thank you for feedback.
And which env do you test? bash, or other shell? Which Linux Distributions?
I have tested in bash shell on Ubuntu 20.04
With SOURCE command, "dirname $0" can't get the right shell folder, so the riscv64 config won't be copied to .config. It will use default arm toolchain config to compile. Use $BASH_SOURCE instead of $0 will get the right shell folder.