Difference between revisions of "Configuration of Boards and Pins"

From Ethersex_Wiki
Jump to: navigation, search
m
Line 3: Line 3:
 
== Intro ==
 
== Intro ==
 
This page will explain some of the details behind menuconfig.
 
This page will explain some of the details behind menuconfig.
It is meant for developers who want o look behind the curtain or if you want debug a modul which does not work or compile any more ....
+
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.
 +
 
 +
== 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 ===
  
  
 
[[Category:Development]]
 
[[Category:Development]]

Revision as of 10:38, 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.

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