gpt4 book ai didi

makefile - 内核 Makefile 中的脚本语言是什么?

转载 作者:行者123 更新时间:2023-12-04 14:05:52 24 4
gpt4 key购买 nike

55 ifeq ("$(origin C)", "command line")
56 KBUILD_CHECKSRC = $(C)
57 endif
58 ifndef KBUILD_CHECKSRC
59 KBUILD_CHECKSRC = 0
60 endif

在普通的 bash 中,没有像 ifndef 这样的关键字...

最佳答案

(GNU)-Make 有它自己的语法和 ifeq , ifndef , endif来自那里。见 GNU Make Documentation .

关于makefile - 内核 Makefile 中的脚本语言是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5402070/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com