diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-10 21:33:35 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-10 21:33:35 (GMT) |
commit | a845d72881b588e448b12e50c37bdccb1f818d2b (patch) | |
tree | feb7340ee73033a13faf26b238cb608c2c1f1822 /Makefile | |
parent | c828dadf4b27fb5c0ad78995f26140fb578d2b8c (diff) |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |