aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2003-03-01 00:57:30 -0600
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2003-03-01 00:57:30 -0600
commit2e4d9e6b44f2ff26b3c380405d2f5eb9ffd10fc8 (patch)
tree4f0dfa5d7a21da72e3ee3f87d991c01b299e39a9 /Makefile
parent951e77ccaa2d6bcf932acd657e874a7bd168cea9 (diff)
downloadhistory-2e4d9e6b44f2ff26b3c380405d2f5eb9ffd10fc8.tar.gz
kbuild: Small updates in top-level makefile
1) Define comma so dependency files does not include a '_' in the filename 2) Use correct path for mkspec and mkversion 3) Removed checkhelp - corresponding perl script is no longer present 4) Spelling correction (reported on lkml)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 228bd815b5b63..7f539784ad648 100644
--- a/Makefile
+++ b/Makefile
@@ -190,6 +190,7 @@ export MODVERDIR := .tmp_versions
# The temporary file to save gcc -MD generated dependencies must not
# contain a comma
+comma := ,
depfile = $(subst $(comma),_,$(@D)/.$(@F).d)
noconfig_targets := xconfig menuconfig config oldconfig randconfig \
@@ -324,7 +325,7 @@ define rule_vmlinux__
set -e; \
$(if $(filter .tmp_kallsyms%,$^),, \
echo ' GEN .version'; \
- . $(src)/scripts/mkversion > .tmp_version; \
+ . $(srctree)/scripts/mkversion > .tmp_version; \
mv -f .tmp_version .version; \
$(MAKE) $(build)=init; \
)
@@ -740,7 +741,7 @@ tags: FORCE
# If you do a make spec before packing the tarball you can rpm -ta it
spec:
- . scripts/mkspec >kernel.spec
+ . $(srctree)/scripts/mkspec >kernel.spec
# Build a tar ball, generate an rpm from it and pack the result
# There are two bits of magic here
@@ -814,11 +815,6 @@ checkconfig:
-name '*.[hcS]' -type f -print | sort \
| xargs $(PERL) -w scripts/checkconfig.pl
-checkhelp:
- find * $(RCS_FIND_IGNORE) \
- -name [cC]onfig.in -print | sort \
- | xargs $(PERL) -w scripts/checkhelp.pl
-
checkincludes:
find * $(RCS_FIND_IGNORE) \
-name '*.[hcS]' -type f -print | sort \