commit | 0f910190df5956598ab4adda21b6be38a669be61 | [log] [tgz] |
---|---|---|
author | Grant Likely <grant.likely@secretlab.ca> | Mon Sep 24 09:05:31 2007 -0600 |
committer | Grant Likely <grant.likely@secretlab.ca> | Tue Nov 20 22:33:38 2007 -0700 |
tree | 872745bafb23aa357e7abbdfed81d17c0250ca85 | |
parent | 909f2586075e84cd79470ab9b731aebe061cabf6 [diff] |
[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: Grant Likely <grant.likely@secretlab.ca>