RT-Thread / userapps

user applications for rt-smart
GNU General Public License v2.0
26 stars 30 forks source link

Fix the riscv64 config copy issue. #17

Closed rivendell1984 closed 1 year ago

rivendell1984 commented 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.

BernardXiong commented 1 year ago

Thank you for feedback.

And which env do you test? bash, or other shell? Which Linux Distributions?

rivendell1984 commented 1 year ago

I have tested in bash shell on Ubuntu 20.04