Skip to content
Snippets Groups Projects
Commit 2f155f6c authored by Grant Likely's avatar Grant Likely
Browse files

[BUILD] Generate include/autoconf.mk from board config files


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>
parent f92edbd8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment