User Tools

Site Tools


kernel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kernel [06/09/2026 11:06] adminkernel [06/09/2026 12:03] (current) – [Compiling the kernel] admin
Line 6: Line 6:
  
 Useful in embedded systems, as only the strongly recommended options are set to Y: Useful in embedded systems, as only the strongly recommended options are set to Y:
 +
 +  make help          # provides a lot of information about kernel config options
  
   make allnoconfig   # useful in embedded systems, setting the strongly recommended options to Y   make allnoconfig   # useful in embedded systems, setting the strongly recommended options to Y
   make clean         # remove most generated files but keep config   make clean         # remove most generated files but keep config
   make mrproper      # remove all generated files   make mrproper      # remove all generated files
 +  make defconfig     # gives us a new config
 +  make LSMOD=... localmodconfig   # uses the list of modules to create a configuration
   make distclean     # also remove the editor backup and patch reject files   make distclean     # also remove the editor backup and patch reject files
      
-  make oldcondif+  make oldcondif     # uses a provided .config as base 
 +   
 +  scripts/diffconfig .config.old .config   # shows difference between both kernel configurations 
 +   
 +  interesting option: CONFIG_WERROR 
 +  
   make   make
   make LOADADDR=0x80008000 uImage   make LOADADDR=0x80008000 uImage
   make dtbs   make dtbs
 +
 +[[https://github.com/a13xp0p0v/kconfig-hardened-check|Useful tool to check config security]]
      
 ====== Process State ====== ====== Process State ======
kernel.1781003184.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki