Hi all!

Just to reduce the surprise on the first build of CVS-HEAD:

I introduced a new higher level configuration layer to enable or disable
features/configuration options:

Rationale: Take "debug build" as prime example.
To have a real debug build, you want (at least) "-g" in CFLAGS and no
stripping. It is cumbersome and error prone to edit that by hand (or
pass parameters to the "make") and with a new options somewhere (e.g.
"-fomit-frame-pointer" is usually not a problem or bad in normal builds)
one has to adjust that.
For these (so called) high level options, I started with
---  snip  ----
# activate debugging with 1 or deactivate with 0
DEBUG ?= 0

# compile OLSR_PRINTF out
NO_DEBUG_MESSAGES ?= 0

# the optimize option to be set for gcc
OPTIMIZE ?= -O2

# enable mudflap with 1 or deactivate with 0
# you need a recent enough gcc and the libmudflap installed
MUDFLAP ?= 0
---  snip  ----
And this should also solve the "do we enable -g per default or not"
question (and similar ones).

Feel free to propose other useful ones (and submit patches;-).

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services



