projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55922c9
)
kbuild: add `baseprereq'
author
Arnaud Lacombe
<lacombar@gmail.com>
Wed, 1 Jun 2011 21:50:25 +0000
(17:50 -0400)
committer
Arnaud Lacombe
<lacombar@gmail.com>
Thu, 9 Jun 2011 18:04:38 +0000
(14:04 -0400)
On the same model as `basetarget', it represents the filename of first
prerequisite with directory and extension stripped.
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
scripts/Kbuild.include
patch
|
blob
|
history
diff --git
a/scripts/Kbuild.include
b/scripts/Kbuild.include
index
be39cd1
..
d897278
100644
(file)
--- 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)