diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-04-10 15:49:38 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-04-10 15:49:38 +0000 |
commit | cc0082c508d1d83ecbfcf332ad789a9c324f07f8 (patch) | |
tree | 3785e4f221602dc0ee0d382fe952e916a9e9ed08 | |
parent | b426a71b533032c602f785a9906f1439d379f111 (diff) | |
download | crosstool-ng-cc0082c508d1d83ecbfcf332ad789a9c324f07f8.tar.gz crosstool-ng-cc0082c508d1d83ecbfcf332ad789a9c324f07f8.tar.bz2 crosstool-ng-cc0082c508d1d83ecbfcf332ad789a9c324f07f8.zip |
While migrating the samples to use ${CT_TOP_DIR}/build as base for the build directories, the Makefile rules stoped working.
This is because 'all' depends on 'build', which does exist, and make believes there's noting to do.
Work this around by using a rule named '_ct_build' instead of plain 'build'.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ export PROJECTVERSION=0.0.1 export CT_TOP_DIR=$(shell pwd) .PHONY: all -all: build +all: _ct_build HOST_CC = gcc -funsigned-char @@ -33,7 +33,7 @@ include $(CT_TOP_DIR)/tools/Makefile @test -f .config # Actual build -build: .config +_ct_build: .config @$(CT_TOP_DIR)/scripts/crosstool.sh .PHONY: distclean |