Replies: 2 comments
-
描述域 add_files 必须要加一个 .S ,才能识别当前需要生效 asm 构建规则 你可以加个空的 xx.S ,或者 |
Beta Was this translation helpful? Give feedback.
0 replies
-
明白了,还是对用法不够清楚。谢谢。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Xmake 版本
2.7.3
操作系统版本和架构
macOS 12.6.1
描述问题
当
add_files("threadx/ports/cortex_m3/gnu/src/tx_misra.S")
的注释去掉的时候,能够正常编译(gnu/src/*.S里面的所有文件同样能够编译)。如果注释掉那句,就会出现unknown source file。是需要增加rule指定?还有像这种根据cxflags添加不同路径源文件的方法,是否只有上述的on_load里面添加?
期待的结果
根据cxflags添加不同路径的源文件
工程配置
No response
附加信息和错误日志
No response
Beta Was this translation helpful? Give feedback.
All reactions