public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ubi-utils: tweak vpath handling
@ 2009-03-31  4:09 Mike Frysinger
  2009-03-31  6:25 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2009-03-31  4:09 UTC (permalink / raw)
  To: linux-mtd

Building out of tree currently fails with ubi-utils because make gets
confused and can't figure out the vpathed .c files.  Using VPATH rather
than vpath seems to work around it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 ubi-utils/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile
index 020fe09..dcff7e3 100644
--- a/ubi-utils/Makefile
+++ b/ubi-utils/Makefile
@@ -13,7 +13,7 @@ LIBS = libubi libmtd libubigen libiniparser libscan
 TARGETS = ubiupdatevol ubimkvol ubirmvol ubicrc32 ubinfo ubiattach \
           ubidetach ubinize ubiformat ubirename
 
-vpath %.c src
+VPATH = src
 
 include ../common.mk
 
-- 
1.6.2

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

end of thread, other threads:[~2009-03-31  6:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31  4:09 [PATCH] ubi-utils: tweak vpath handling Mike Frysinger
2009-03-31  6:25 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox