summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-05-24 16:38:53 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-05-24 16:38:53 -0500
commitcc4749dc69abeaaad4cd4c4484d8c6b00dc1cf21 (patch)
tree619b2e84a071a9946eb3d45d15ebfb179ec6228c /scripts
parent6f31fe5ae98452366adf70f39b7c0b748f22dc69 (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/Makefile2
-rw-r--r--scripts/pathdown.sh13
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