What exactly does Linux kernel's `make defconfig` do?

前端 未结 2 568
抹茶落季
抹茶落季 2020-12-07 18:13

I can use the following command to create a Linux kernel .config file based on a specified architecture default for a custom ARM-based board:

AR         


        
2条回答
  •  误落风尘
    2020-12-07 18:28

    It also generate include/generated/autoconf.h.

    This header file is included by C source file. On the other hand, .config is for Makefile system.

    Build system generate two files, and keep them consistent.

提交回复
热议问题