summaryrefslogtreecommitdiff
path: root/tools/imls/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-19 15:17:03 -0400
committerWolfgang Denk <wd@denx.de>2009-07-23 21:26:14 +0200
commit9aef73888509d10193615ee5cd9cf439ca44e937 (patch)
tree7a54a47f6456799f8d7531538b1f1e965d7b4907 /tools/imls/Makefile
parent2e9393f500065f940e5e4ac7fe375e4c0b77b936 (diff)
downloadu-boot-imx-9aef73888509d10193615ee5cd9cf439ca44e937.zip
u-boot-imx-9aef73888509d10193615ee5cd9cf439ca44e937.tar.gz
u-boot-imx-9aef73888509d10193615ee5cd9cf439ca44e937.tar.bz2
unify HOST_CFLAGS and HOSTCFLAGS
The top build system sets up HOSTCFLAGS a bit and exports it, but other places use HOST_CFLAGS instead. Unify the two as HOSTCFLAGS so that the values stay in sync. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tools/imls/Makefile')
-rw-r--r--tools/imls/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/imls/Makefile b/tools/imls/Makefile
index 04ab31a..59b928c 100644
--- a/tools/imls/Makefile
+++ b/tools/imls/Makefile
@@ -19,7 +19,7 @@
include $(TOPDIR)/config.mk
-HOST_CFLAGS = -Wall -pedantic
+HOSTCFLAGS = -Wall -pedantic
# Generated executable files
BIN_FILES-y += imls
@@ -57,7 +57,7 @@ CPPFLAGS = -idirafter $(SRCTREE)/include \
-I $(SRCTREE)/libfdt \
-I $(SRCTREE)/tools \
-DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-CFLAGS = $(HOST_CFLAGS) $(CPPFLAGS) -O
+CFLAGS = $(HOSTCFLAGS) $(CPPFLAGS) -O
# No -pedantic switch to avoid libfdt compilation warnings
FIT_CFLAGS = -Wall $(CPPFLAGS) -O