commit | 171af61b28c5ae5b3e073efbf7c4f87ce1d0fb20 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Thu Jun 07 15:19:00 2007 -0400 |
committer | Rob Landley <rob@landley.net> | Thu Jun 07 15:19:00 2007 -0400 |
tree | 33665eb4a0a77e62b6894bd98e67f42e9a7f3ab7 | |
parent | fc2224b26c73198d00eba714caf47bd2e3a5e63b [diff] |
More cross compiling infrastructure.
diff --git a/Makefile b/Makefile index dec52d8..9c724aa 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