diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-05-24 16:38:53 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-05-24 16:38:53 -0500 |
| commit | cc4749dc69abeaaad4cd4c4484d8c6b00dc1cf21 (patch) | |
| tree | 619b2e84a071a9946eb3d45d15ebfb179ec6228c /scripts | |
| parent | 6f31fe5ae98452366adf70f39b7c0b748f22dc69 (diff) | |
kbuild: Use consistently FORCE instead of dummy
FORCE is the de-facto standard name for a prequisite to force
recompilation, so instead of using a mix of 'dummy','FORCE' and
'FORCE_RECOMPILE' use 'FORCE' everywhere.
Also, move figuring out the path relative to the top level dir
into Rules.make, instead of calling an external script.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile | 2 | ||||
| -rw-r--r-- | scripts/pathdown.sh | 13 |
2 files changed, 1 insertions, 14 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index d6d231d73fa6..0fff831cc86e 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -5,7 +5,7 @@ TAIL=tail.tk # on soundscript. This runs fairly fast, and I can't find all the # Config.in files to depend on anyways. So I'll force it to remake. -kconfig.tk: dummy +kconfig.tk: FORCE kconfig.tk: ${TOPDIR}/Makefile ${TOPDIR}/arch/${ARCH}/config.in \ tkparse ${HEADER} ${TAIL} diff --git a/scripts/pathdown.sh b/scripts/pathdown.sh deleted file mode 100644 index 16c17b2a8067..000000000000 --- a/scripts/pathdown.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -UP= -DN=${PWD:?} -TP=${TOPDIR:?} - -while [ ! $TP/$UP/. -ef $DN ] ;do - UP=`basename $PWD`/$UP - cd .. - if [ "$PWD" = "/" ]; then echo "Lost"; exit 1; fi -done - -echo $UP -exit 0 |
