我对Make的了解很少。有人告诉我,您在 make 之后放置的所有内容(不包含“-”)都是目标。好吧,我的构建过程失败了。首先有一条线
make path/to/configuration_file
configuration_file不是目标。它是一个自动生成的配置文件,隐藏在目录结构(“path/to”)中,其形式为
#
# Boot Configuration
#
#
# DRAM Component
#
CONFIG_DRAM_TYPE_LPDDR4=y
# CONFIG_DRAM_TYPE_DDR4 is not set
CONFIG_DDR_SIZE=0x80000000
#
# Boot Device
#
# CONFIG_ENABLE_EMMC_BOOT is not set
# CONFIG_ENABLE_NAND_BOOT is not set
CONFIG_ENABLE_SPINAND_BOOT=y
# CONFIG_ENABLE_SPINOR_BOOT is not set
CONFIG_EMMC_ACCESS_8BIT=y
# CONFIG_EMMC_ACCESS_4BIT is not set
# CONFIG_EMMC_ACCESS_1BIT is not set
所以我无法理解这是一个目标。作为参考,当我运行 make 有一个 Makefile 但这个 Makefile 没有引用这个文件。
这条线仍然进展顺利。它失败的路径说
make diags
我已经验证没有“诊断”目标。
我将在此处打印错误文件,该文件可以为我们提供有关正在发生的事情的更多信息
GEN cortex_a/output/Makefile
Init diag test "orc_scheduler" ...
remoteconfig: Failed to generate configure in cortex_a/soc/visio/tests/orc_scheduler!
Makefile:11 recipe for target 'orc_scheduler-init' failed
make[10]: *** [orc_scheduler-init] Error 25
至少我想知道的是如何解释这个错误信息。我不知道“11”或“10”或“25”指的是什么。