Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smp选项关闭,但编译时依旧生效 #8555

Closed
ColdGenerator opened this issue Feb 23, 2024 · 1 comment
Closed

smp选项关闭,但编译时依旧生效 #8555

ColdGenerator opened this issue Feb 23, 2024 · 1 comment

Comments

@ColdGenerator
Copy link

bsp/qemu-virt64-riscv,5.0.2版本,.config文件可以看到RT_USING_SMP没有配置,按流程编译后,bsp/qemu-virt64-riscv/build/kernel/src中出现schedule_up.o,与Sconscript的配置不符合,Sconscript:

if GetDepend('RT_USING_SMP') == False:
    SrcRemove(src, ['cpu.c', 'scheduler_mp.c'])

if GetDepend('RT_USING_SMP') == True:
    SrcRemove(src, ['scheduler_up.c'])
@ColdGenerator ColdGenerator changed the title smp编译关闭,但编译时依旧生效 smp选项关闭,但编译时依旧生效 Feb 23, 2024
@BernardXiong
Copy link
Member

請檢查下最新版本情況

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants