summaryrefslogtreecommitdiffstats
path: root/board
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 /board
parent2e9393f500065f940e5e4ac7fe375e4c0b77b936 (diff)
downloadu-boot-9aef73888509d10193615ee5cd9cf439ca44e937.tar.gz
u-boot-9aef73888509d10193615ee5cd9cf439ca44e937.tar.xz
u-boot-9aef73888509d10193615ee5cd9cf439ca44e937.zip
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 'board')
-rw-r--r--board/fads/config.mk2
-rw-r--r--board/netstar/Makefile8
-rw-r--r--board/spc1920/config.mk2
-rw-r--r--board/xilinx/ml300/Makefile2
-rw-r--r--board/xilinx/ppc405-generic/Makefile2
-rw-r--r--board/xilinx/ppc440-generic/Makefile2
6 files changed, 9 insertions, 9 deletions
diff --git a/board/fads/config.mk b/board/fads/config.mk
index 621b9a2493..61060907ee 100644
--- a/board/fads/config.mk
+++ b/board/fads/config.mk
@@ -30,5 +30,5 @@
TEXT_BASE = 0xFE000000
PLATFORM_CPPFLAGS += -I$(TOPDIR)/board/fads
-HOST_CFLAGS += -I$(TOPDIR)/board/fads
+HOSTCFLAGS += -I$(TOPDIR)/board/fads
HOST_ENVIRO_CFLAGS += -I$(TOPDIR)/board/fads
diff --git a/board/netstar/Makefile b/board/netstar/Makefile
index cb3f7c9032..8f35f93d7b 100644
--- a/board/netstar/Makefile
+++ b/board/netstar/Makefile
@@ -42,7 +42,7 @@ LOAD_ADDR = 0x10400000
LDSCRIPT = $(TOPDIR)/board/$(BOARDDIR)/eeprom.lds
lnk = $(if $(obj),$(obj),.)
-HOST_CFLAGS = -Wall -pedantic -I$(TOPDIR)/include
+HOSTCFLAGS = -Wall -pedantic -I$(TOPDIR)/include
all: $(obj).depend $(LIB) $(obj)eeprom.srec $(obj)eeprom.bin \
$(obj)crcek.srec $(obj)crcek.bin $(obj)crcit
@@ -70,13 +70,13 @@ $(obj)crcek.bin: $(obj)crcek.srec
$(OBJCOPY) -I srec -O binary $< $@ 2>/dev/null
$(obj)crcit: $(obj)crcit.o $(obj)crc32.o
- $(HOSTCC) $(HOST_CFLAGS) -o $@ $^
+ $(HOSTCC) $(HOSTCFLAGS) -o $@ $^
$(obj)crcit.o: crcit.c
- $(HOSTCC) $(HOST_CFLAGS) -o $@ -c $<
+ $(HOSTCC) $(HOSTCFLAGS) -o $@ -c $<
$(obj)crc32.o: $(SRCTREE)/lib_generic/crc32.c
- $(HOSTCC) $(HOST_CFLAGS) -DUSE_HOSTCC -o $@ -c $<
+ $(HOSTCC) $(HOSTCFLAGS) -DUSE_HOSTCC -o $@ -c $<
clean:
rm -f $(SOBJS) $(OBJS) $(obj)eeprom $(obj)eeprom.srec \
diff --git a/board/spc1920/config.mk b/board/spc1920/config.mk
index e361694faa..8dacc178fc 100644
--- a/board/spc1920/config.mk
+++ b/board/spc1920/config.mk
@@ -31,5 +31,5 @@
#TEXT_BASE = 0xFE000000
TEXT_BASE = 0xFFF00000
PLATFORM_CPPFLAGS += -I$(TOPDIR)/board/spc1920
-HOST_CFLAGS += -I$(TOPDIR)/board/spc1920
+HOSTCFLAGS += -I$(TOPDIR)/board/spc1920
HOST_ENVIRO_CFLAGS += -I$(TOPDIR)/board/spc1920
diff --git a/board/xilinx/ml300/Makefile b/board/xilinx/ml300/Makefile
index 9215d77bb0..b8a2d64c4f 100644
--- a/board/xilinx/ml300/Makefile
+++ b/board/xilinx/ml300/Makefile
@@ -30,7 +30,7 @@ endif
INCS := -I../common -I../xilinx_enet -I../xilinx_iic
CFLAGS += $(INCS)
-HOST_CFLAGS += $(INCS)
+HOSTCFLAGS += $(INCS)
LIB = $(obj)lib$(BOARD).a
diff --git a/board/xilinx/ppc405-generic/Makefile b/board/xilinx/ppc405-generic/Makefile
index b56bb490a2..4e87e4b5ce 100644
--- a/board/xilinx/ppc405-generic/Makefile
+++ b/board/xilinx/ppc405-generic/Makefile
@@ -31,7 +31,7 @@ endif
INCS :=
CFLAGS += $(INCS)
-HOST_CFLAGS += $(INCS)
+HOSTCFLAGS += $(INCS)
LIB = $(obj)lib$(BOARD).a
diff --git a/board/xilinx/ppc440-generic/Makefile b/board/xilinx/ppc440-generic/Makefile
index bf0a6ba4f2..11a8f69343 100644
--- a/board/xilinx/ppc440-generic/Makefile
+++ b/board/xilinx/ppc440-generic/Makefile
@@ -31,7 +31,7 @@ endif
INCS :=
CFLAGS += $(INCS)
-HOST_CFLAGS += $(INCS)
+HOSTCFLAGS += $(INCS)
LIB = $(obj)lib$(BOARD).a