aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-06-07 15:19:00 -0400
committerRob Landley <rob@landley.net>2007-06-07 15:19:00 -0400
commit171af61b28c5ae5b3e073efbf7c4f87ce1d0fb20 (patch)
tree33665eb4a0a77e62b6894bd98e67f42e9a7f3ab7 /Makefile
parentfc2224b26c73198d00eba714caf47bd2e3a5e63b (diff)
downloadtoybox-171af61b28c5ae5b3e073efbf7c4f87ce1d0fb20.tar.gz
More cross compiling infrastructure.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dec52d8b..9c724aa0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,15 @@
# Makefile for toybox.
# Copyright 2006 Rob Landley <rob@landley.net>
-CFLAGS = -Wall -Wundef -Wno-char-subscripts -Os
+CFLAGS := $(CFLAGS) -Wall -Wundef -Wno-char-subscripts -Os
CCFLAGS = $(CFLAGS) -funsigned-char
CC = $(CROSS_COMPILE)gcc
STRIP = $(CROSS_COMPILE)strip
HOSTCC = gcc
+# A synonym.
+CROSS_COMPILE = $(CROSS)
+
all: toybox
.PHONY: clean