summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-25 22:53:55 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-25 22:53:55 +0100
commit83687368fdcf0004e377584b3b3e73d4f991e27e (patch)
tree99524ccbb3b3bbd58f52d512fa547d75fc42af28 /toolchain
parent2350ebe334d58c5236d05fb6adf7150fc0d32d7b (diff)
more HOSTCC elimination
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/eglibc/Makefile2
-rw-r--r--toolchain/glibc/Makefile.inc2
-rw-r--r--toolchain/kernel-headers/Makefile4
-rw-r--r--toolchain/uClibc/Makefile6
4 files changed, 7 insertions, 7 deletions
diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile
index a72141f5a..690261324 100644
--- a/toolchain/eglibc/Makefile
+++ b/toolchain/eglibc/Makefile
@@ -25,7 +25,7 @@ EGLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \
--enable-add-ons
EGLIBC_ENV:= PATH='${TARGET_PATH}' \
- BUILD_CC=${HOSTCC} \
+ BUILD_CC=${CC_FOR_BUILD} \
CFLAGS="$(TARGET_CFLAGS)" \
CC=${REAL_GNU_TARGET_NAME}-gcc \
CXX=${REAL_GNU_TARGET_NAME}-g++ \
diff --git a/toolchain/glibc/Makefile.inc b/toolchain/glibc/Makefile.inc
index 79ba89cc2..b7646e6a2 100644
--- a/toolchain/glibc/Makefile.inc
+++ b/toolchain/glibc/Makefile.inc
@@ -22,7 +22,7 @@ GLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \
--enable-kernel="2.6.0" \
--enable-add-ons
GLIBC_ENV:= PATH='${TARGET_PATH}' \
- BUILD_CC=${HOSTCC} \
+ BUILD_CC=${CC_FOR_BUILD} \
CFLAGS="$(TARGET_CFLAGS)" \
CC=${REAL_GNU_TARGET_NAME}-gcc \
CXX=${REAL_GNU_TARGET_NAME}-g++ \
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 81c2b6593..6ae2ccd08 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -7,10 +7,10 @@ include $(TOPDIR)/mk/linux.mk
include ${TOPDIR}/mk/buildhlp.mk
$(WRKBUILD)/.headers:
- $(MAKE) -C $(WRKBUILD) HOSTCC=$(HOSTCC) ARCH=$(ARCH) V=1 \
+ $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=$(ARCH) V=1 \
INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)/usr \
headers_install
- $(MAKE) -C $(WRKBUILD) HOSTCC=$(HOSTCC) ARCH=$(ARCH) V=1 \
+ $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=$(ARCH) V=1 \
INSTALL_HDR_PATH=$(LINUX_HEADER_DIR) \
headers_install
# cryptodev.h from ocf-linux-20080917
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index 6dd77146f..071ae7118 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -29,14 +29,14 @@ endif
PREFIX=$(STAGING_TARGET_DIR) \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(STAGING_TARGET_DIR) \
- HOSTCC="$(HOSTCC)" \
+ HOSTCC="$(CC_FOR_BUILD)" \
CPU_CFLAGS="$(TARGET_CFLAGS)" \
oldconfig
$(MAKE) ${UCLIBC_MAKEOPTS} -C $(WRKBUILD) \
PREFIX=$(STAGING_TARGET_DIR) \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(STAGING_TARGET_DIR) \
- HOSTCC="$(HOSTCC)" \
+ HOSTCC="$(CC_FOR_BUILD)" \
CPU_CFLAGS="$(TARGET_CFLAGS)" \
install_headers
touch $(WRKBUILD)/.configured
@@ -47,7 +47,7 @@ $(WRKBUILD)/.compiled:
PREFIX= \
DEVEL_PREFIX=/ \
RUNTIME_PREFIX=/ \
- HOSTCC="$(HOSTCC)" \
+ HOSTCC="$(CC_FOR_BUILD)" \
CPU_CFLAGS="$(TARGET_CFLAGS)" \
all
touch $@