All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] build: fix dependencies for files compiled from their parent directory
@ 2015-11-25 16:16 Jan Beulich
  2015-11-25 16:26 ` Ian Campbell
  2015-11-30 16:31 ` Jonathan Creekmore
  0 siblings, 2 replies; 8+ messages in thread
From: Jan Beulich @ 2015-11-25 16:16 UTC (permalink / raw)
  To: xen-devel
  Cc: Ian Campbell, Jonathan Creekmore, Keir Fraser, Ian Jackson, Tim Deegan

The use of $(basename ...) here was wrong (yet I'm sure I tested it).

Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- 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))))

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-11-30 16:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-25 16:16 [PATCH] build: fix dependencies for files compiled from their parent directory Jan Beulich
2015-11-25 16:26 ` Ian Campbell
2015-11-26  7:43   ` Jan Beulich
2015-11-26  9:51     ` Ian Campbell
2015-11-26 10:38       ` Jan Beulich
2015-11-26 10:47         ` Ian Campbell
2015-11-30 16:31 ` Jonathan Creekmore
2015-11-30 16:36   ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.