projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdead3f
)
build: fix dependencies for files compiled from their parent directory
author
Jan Beulich
<jbeulich@suse.com>
Thu, 26 Nov 2015 14:50:07 +0000
(15:50 +0100)
committer
Jan Beulich
<jbeulich@suse.com>
Thu, 26 Nov 2015 14:50:07 +0000
(15:50 +0100)
The use of $(basename ...) here was wrong (yet I'm sure I tested it).
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/Rules.mk
patch
|
blob
|
history
diff --git
a/xen/Rules.mk
b/xen/Rules.mk
index e9d03b9900fcaf60613ec4bbed825c5a6eb10ce6..02db11032e1eba4a857363493973562989c1541f 100644
(file)
--- a/
xen/Rules.mk
+++ b/
xen/Rules.mk
@@
-105,7
+105,7
@@
include Makefile
DEPS = .*.d
define gendep
ifneq ($(1),$(subst /,:,$(1)))
- DEPS += $(dir $(1)).$(
basename $(notdir $(1)
)).d
+ DEPS += $(dir $(1)).$(
notdir $(1
)).d
endif
endef
$(foreach o,$(filter-out %/,$(obj-y)),$(eval $(call gendep,$(o))))