Exactement ce que fait le noyau Linux est " make defconfig`?

Je peux utiliser la commande suivante pour créer un noyau Linux .config fichier basé sur une architecture spécifiée par défaut pour personnaliser un BRAS-du conseil d'administration:

ARCH=arm make defconfig KBUILD_DEFCONFIG=var_som_mx6_android_defconfig

J'ai pensé que cette commande plus ou moins des copies ./arch/arm/configs/var_som_mx6_android_defconfig à ./.config. Cependant, le résultant .config fichier n'est pas exactement une copie:

$ diff --unified arch/arm/configs/var_som_mx6_android_defconfig  .config
--- arch/arm/configs/var_som_mx6_android_defconfig  2017-01-20 12:10:51.891515984 -0800
+++ .config 2017-01-26 15:31:29.000000000 -0800
@@ -407,6 +407,7 @@
 CONFIG_ARM_ERRATA_751472=y
 CONFIG_ARM_ERRATA_794072=y
 CONFIG_ARM_ERRATA_761320=y
+CONFIG_ARM_ERRATA_845369=y
 # CONFIG_ARM_ERRATA_753970 is not set
 CONFIG_ARM_ERRATA_754322=y
 # CONFIG_ARM_ERRATA_754327 is not set
@@ -2683,7 +2684,6 @@
 CONFIG_AUTOFS4_FS=y
 CONFIG_FUSE_FS=y
 # CONFIG_CUSE is not set
-CONFIG_AUFS_FS=y

 #
 # Caches
@@ -2759,6 +2759,21 @@
 # CONFIG_PSTORE is not set
 # CONFIG_SYSV_FS is not set
 # CONFIG_UFS_FS is not set
+CONFIG_AUFS_FS=y
+CONFIG_AUFS_BRANCH_MAX_127=y
+# CONFIG_AUFS_BRANCH_MAX_511 is not set
+# CONFIG_AUFS_BRANCH_MAX_1023 is not set
+# CONFIG_AUFS_BRANCH_MAX_32767 is not set
+CONFIG_AUFS_SBILIST=y
+# CONFIG_AUFS_HNOTIFY is not set
+# CONFIG_AUFS_RDU is not set
+# CONFIG_AUFS_PROC_MAP is not set
+# CONFIG_AUFS_SP_IATTR is not set
+# CONFIG_AUFS_SHWH is not set
+# CONFIG_AUFS_BR_RAMFS is not set
+# CONFIG_AUFS_BR_FUSE is not set
+CONFIG_AUFS_BDEV_LOOP=y
+# CONFIG_AUFS_DEBUG is not set
 CONFIG_NETWORK_FILESYSTEMS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3=y

Je ne comprends pas d'où les lignes supplémentaires sont à venir, et j'ai toujours trouvé que le fonctionnement interne de la configuration du noyau, makefiles, et de construire des scripts pour être difficile à comprendre. Quelqu'un peut-il expliquer où ces lignes dans le .config pourrait venir de la?

connexes: oldconfig: stackoverflow.com/questions/4178526/...
merci - je n'ai jamais entendu parler de ça avant.

OriginalL'auteur Michael Burr | 2017-01-26