Mercurial > hg > toybox
changeset 123:81a324ef9167
More cross compiling infrastructure.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 07 Jun 2007 15:19:00 -0400 |
parents | ee49aa0dc731 |
children | ef2bc92d5fb0 |
files | Makefile |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Fri Jun 01 14:31:45 2007 -0400 +++ b/Makefile Thu Jun 07 15:19:00 2007 -0400 @@ -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