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'.
1.1 --- a/Makefile Tue Apr 10 15:04:33 2007 +0000
1.2 +++ b/Makefile Tue Apr 10 15:49:38 2007 +0000
1.3 @@ -8,7 +8,7 @@
1.4 export CT_TOP_DIR=$(shell pwd)
1.5
1.6 .PHONY: all
1.7 -all: build
1.8 +all: _ct_build
1.9
1.10 HOST_CC = gcc -funsigned-char
1.11
1.12 @@ -33,7 +33,7 @@
1.13 @test -f .config
1.14
1.15 # Actual build
1.16 -build: .config
1.17 +_ct_build: .config
1.18 @$(CT_TOP_DIR)/scripts/crosstool.sh
1.19
1.20 .PHONY: distclean