summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-31 00:09:40 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-03-31 09:24:10 +0300
commit02b833db191d98be35da5d54c5fa98822823b4a6 (patch)
treeb5ab6bafaa0569910c2b2e6eb95a6faefdfebb13
parente4244a1bc1f7afc7ba5f630591aa90ac7ccaa75a (diff)
ubi-utils: tweak vpath handling
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>
-rw-r--r--ubi-utils/Makefile2
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