在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
相關文章
相關標籤/搜索