Difference between revisions of "Configuration of Boards and Pins"

From Ethersex_Wiki
Jump to: navigation, search
(make menuconfig)
Line 18: Line 18:
  
 
I thing the details of the configuration should become clear after doing the menuconfig and reading about the modules.
 
I thing the details of the configuration should become clear after doing the menuconfig and reading about the modules.
 +
May be I can explain some "core" configuration later.
  
 
== make ==
 
== make ==

Revision as of 10:40, 1 May 2012

Intro

This page will explain some of the details behind menuconfig. It is meant for developers who want to look behind the curtain or if someone wants to debug a modul which does not work or compile any more ....

make menuconfig

May be someone can explain how to add or extend the menuconfig system - here a look at the results and the output of menuconfig.

The configuration is saved in two different formats:

  • file .config for the menuconfig itself -
    • it is used for including it into the makefile
    • definition auf makefile variables
  • file autoconfig.h -
    • it is for including it in the compilation
    • definition of C preprocessor macros and defines

I thing the details of the configuration should become clear after doing the menuconfig and reading about the modules. May be I can explain some "core" configuration later.

make

The first steps in the build process are to get all the configuration information and build some source files which put it all together.

meta.m4

pinning.c

meta.h