summaryrefslogtreecommitdiff
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-06-23 23:00:16 +0200
committerMichal Marek <mmarek@suse.cz>2011-06-23 23:00:16 +0200
commit5e05981b5b79afb42adb754c558ee050092d2d85 (patch)
treeb9bbdea5a3d95cb759f48fb3c1dd8faa6bfd3f82 /scripts/Kbuild.include
parent2e483528cebad089d0bb3f9aebb0ada22d968ffa (diff)
parentedfc86aadad371b76d95b11d0bc8eb36c2376d1e (diff)
downloadlwn-5e05981b5b79afb42adb754c558ee050092d2d85.tar.gz
lwn-5e05981b5b79afb42adb754c558ee050092d2d85.zip
Merge branch 'kbuild-implicit-parser-rule' of git://github.com/lacombar/linux-2.6 into kbuild/kbuild
Diffstat (limited to 'scripts/Kbuild.include')
-rw-r--r--scripts/Kbuild.include4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index be39cd1c74cf..d897278b1f97 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -21,6 +21,10 @@ depfile = $(subst $(comma),_,$(dot-target).d)
basetarget = $(basename $(notdir $@))
###
+# filename of first prerequisite with directory and extension stripped
+baseprereq = $(basename $(notdir $<))
+
+###
# Escape single quote for use in echo statements
escsq = $(subst $(squote),'\$(squote)',$1)