There is no install in the Makefile compiled by the linux kernel:

I originally wanted to study the Makefile compiled by the Linux kernel, and then recalled several parameters of make, modules, modules_install, and install. As a result, I found modules and modules_install in the Makefile but could not find the install parameter. Later, a mistake was made deliberately (without switching the administrator user), making make make an error,


According to the error path ./arch/x86/boot/install.sh, it is found that there are install.sh and Makefile files in the ./arch/x86/boot/ directory. The last part of the code in the Makefile file is to execute install.sh, which means that the Linux directory The next make finally jumps to the make of the ./arch/x86/boot/ directory. Then look for the Makefile in the linux directory. It is found that there is indeed a call to include arch/$(SRCARCH)/Makefile.

The makefile of the linux kernel is too large, so I traced it backwards based on the include arch/$(SRCARCH)/Makefile clues, and I don't care about the install parameters.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325591972&siteId=291194637