Dear Albert ARIBAUD,

In message <4d426699.4080...@free.fr> you wrote:
> What I would like to understand is, the '$(X)' macro expansion operator
> indeed has meaning and makes sense for some tools such as Make, but not
> for a C preprocessor or compiler. Is this  config.h file included by a
> makefile somehow?

yes, it is.

Please see the autoconf.mk build step in the top level makefile: it
processes (among other things) the board config file and creates
include files to provide the needed symbols for make.

It is this mechanism that allows us - for example - to move the
CONFIG_SYS_TEXT_BASE definitions into the board config files, even
though these are needed in the Makefiles for the linker step.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
When a woman marries again it is because she detested her first  hus-
band.  When  a  man  marries again, it is because he adored his first
wife.                                                  -- Oscar Wilde
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to