summaryrefslogtreecommitdiff
path: root/tools/scripts/define2mk.sed
Commit message (Collapse)AuthorAgeLines
* autoconfig.mk: avoid apostophes around hex valuesWolfgang Denk2010-10-18-2/+6
| | | | | | | | | | | When generating include/autoconfig.mk, hex numbers would be quoted. This caused some false positives during automatic testing of the builds, and is known to cause some real issues for some Blackfin configurations. Don't use apostophes for decimal and hex numbers (nor for octal numbers). Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* make define2mk.sed work on FreeBSDMarcel Moolenaar2008-02-22-2/+2
| | | | | | | | | | In the thread "[1.3.2-rc1] MPC8548CDS/MPC8555CDS configs fails to link", the define2mk.sed script was identified as the source of the link failure on FreeBSD. The problem is that sed(1) does not always support the '+' operator. It isn't on FreeBSD. The attach patch implements the equivalent, using the '*' operator instead and should work everywhere. Signed-off-by: Marcel Moolenaar <marcelm@juniper.net>
* [BUILD] Generate include/autoconf.mk from board config filesGrant Likely2007-11-20-0/+29
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>