build: Pull -DBUILD_TAG into separate ifdef
authorMarek Vasut <marex@denx.de>
Sat, 27 Apr 2013 07:50:11 +0000 (07:50 +0000)
committerTom Rini <trini@ti.com>
Thu, 9 May 2013 21:03:04 +0000 (17:03 -0400)
commitd642c467a071f074b991f9fea0c877c22462c9e9
tree5d9fd59f7597aa5b0435ae7658f3f04a8560c654
parent4e779ad2e54e39d5343c8c83b4fc686a7bb16859
build: Pull -DBUILD_TAG into separate ifdef

Currently the base setting for CFLAGS is split in two possibilities,
one with -DBUILD_TAG appended at the end and one without, the rest of
CFLAGS is the same in both cases. Change this so CFLAGS are always set
and the -DBUILD_TAG is appended in separate ifdef.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Tom Rini <trini@ti.com>
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
config.mk