summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-01-27 21:36:29 +0100
committerKay Sievers <kay.sievers@suse.de>2006-01-27 21:36:29 +0100
commit4942c78cb01ef4100a3cbce577fc3262b82d9be4 (patch)
tree023b9fb907bca2debdd1c1fd224593ad7db511d2 /Makefile
parenta6aa9d70a470e02ccaf68bdb1929a2b7a3c5d030 (diff)
switch CROSS to CROSS_COMPILE
This matches what the kernel uses and was a suggestion from: KRONSTORFER Horst <Horst.KRONSTORFER@frequentis.com> Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 9da2964ddf..db8ecdacc6 100644
--- a/Makefile
+++ b/Makefile
@@ -109,13 +109,13 @@ INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
PWD = $(shell pwd)
-CROSS =
-CC = $(CROSS)gcc
-LD = $(CROSS)gcc
-AR = $(CROSS)ar
-RANLIB = $(CROSS)ranlib
+CROSS_COMPILE =
+CC = $(CROSS_COMPILE)gcc
+LD = $(CROSS_COMPILE)gcc
+AR = $(CROSS_COMPILE)ar
+RANLIB = $(CROSS_COMPILE)ranlib
HOSTCC = gcc
-STRIP = $(CROSS)strip
+STRIP = $(CROSS_COMPILE)strip
STRIPCMD = $(STRIP) -s
CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
@@ -145,7 +145,7 @@ ifeq ($(strip $(USE_GCOV)),true)
endif
ifeq ($(strip $(USE_KLIBC)),true)
- KLCC = /usr/bin/$(CROSS)klcc
+ KLCC = /usr/bin/$(CROSS_COMPILE)klcc
CC = $(KLCC)
LD = $(KLCC)
V = true