# HG changeset patch # User "Yann E. MORIN" # Date 1176220178 0 # Node ID b1d9951b9933491d44c5fb657d8d0f865970078a # Parent b83d8c1afd797f8bc364a6fb35851ca67cd78a06 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'. diff -r b83d8c1afd79 -r b1d9951b9933 Makefile --- a/Makefile Tue Apr 10 15:04:33 2007 +0000 +++ b/Makefile Tue Apr 10 15:49:38 2007 +0000 @@ -8,7 +8,7 @@ export CT_TOP_DIR=$(shell pwd) .PHONY: all -all: build +all: _ct_build HOST_CC = gcc -funsigned-char @@ -33,7 +33,7 @@ @test -f .config # Actual build -build: .config +_ct_build: .config @$(CT_TOP_DIR)/scripts/crosstool.sh .PHONY: distclean