[PATCH] ubi-utils: tweak vpath handling

Mike Frysinger vapier at gentoo.org
Tue Mar 31 00:09:40 EDT 2009


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




More information about the linux-mtd mailing list