From a845d72881b588e448b12e50c37bdccb1f818d2b Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 10 May 2007 21:33:35 +0000 Subject: Update the way we handle directories supplied by the user: - the tarball directory is considered as a local copy, and tarballs are copied to a working area, - the sources and build directories (CT_SRC_DIR and CT_BUILD_DIR) are now computed, and no longer an option, - the build dir has been renamed from 'build' to 'targets'. That should ease preparing a tarball of the resulting target. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index be5e0059..da7ae783 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ export PROJECTVERSION=0.0.2-svn export CT_TOP_DIR=$(shell pwd) .PHONY: all -all: _ct_build +all: build HOST_CC = gcc -funsigned-char @@ -39,10 +39,10 @@ help:: @test -f .config # Actual build -_ct_build: .config +build: .config @$(CT_TOP_DIR)/scripts/crosstool.sh .PHONY: distclean distclean:: clean @rm -f .config* ..config.tmp - @rm -rf "$(CT_TOP_DIR)/build" + @rm -rf "$(CT_TOP_DIR)/targets" -- cgit v1.2.3