Skip to content
Snippets Groups Projects
user avatar
Grant Likely authored
Use cpp and sed to postprocess config.h and import the defined values
into include/autoconf.mk.  autoconf.mk is then included by config.mk to
give 'make' access to the board configuration.

Doing this enables conditional compilation at the Makefile level instead
of by wrapping every .c file with #ifdef/#endif wrappers.

Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
2f155f6c
History
Name Last commit Last update