diff options
author | Rob Landley <rob@landley.net> | 2007-06-07 15:19:00 -0400 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-06-07 15:19:00 -0400 |
commit | 171af61b28c5ae5b3e073efbf7c4f87ce1d0fb20 (patch) | |
tree | 33665eb4a0a77e62b6894bd98e67f42e9a7f3ab7 | |
parent | fc2224b26c73198d00eba714caf47bd2e3a5e63b (diff) | |
download | toybox-171af61b28c5ae5b3e073efbf7c4f87ce1d0fb20.tar.gz |
More cross compiling infrastructure.
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |