在makefile中执行shell

在makefile中执行shell须要注意shell 1 执行的时候一行就是一个shell。因此一个完整的shell命令必须在一行以内,所以要用\链接起来。ui 好比spa if [ "$(obj)X" = "fsX" ]; then \ echo "ONE1 $(KBUILD_BUILTIN)"; \ echo "ONE2 $(builtin-target)"; \ echo "ONE3 $(l
相关文章
相关标签/搜索