]> www.infradead.org Git - mtd-utils.git/commitdiff
ubi-utils: tweak vpath handling
authorMike Frysinger <vapier@gentoo.org>
Tue, 31 Mar 2009 04:09:40 +0000 (00:09 -0400)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 31 Mar 2009 06:24:10 +0000 (09:24 +0300)
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

index 020fe09561b5dac680faaf80d3621d3f72417d3e..dcff7e3775ece59da7792c344805fdbc1d703113 100644 (file)
@@ -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