aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-08-29 17:28:08 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-08-29 17:34:18 +0300
commit1e8903a0bd3fdddd5ce6bfdeaed49249fc6ab9b5 (patch)
treeb373a19b7eab41e60221b27b6afe962622acfc1c /Makefile
parente87f5a127d8606fa22957d0129e1c812db5ba3ce (diff)
ubi-utils: build utils from top dir
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 679dc7e..111bb6a 100644
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,7 @@ $(BUILDDIR)/%.o: %.c
.SUFFIXES:
all: $(TARGETS)
+ make -C $(BUILDDIR)/ubi-utils
IGNORE=${wildcard $(BUILDDIR)/.*.c.dep}
-include ${IGNORE}
@@ -50,6 +51,7 @@ IGNORE=${wildcard $(BUILDDIR)/.*.c.dep}
clean:
rm -f $(BUILDDIR)/*.o $(TARGETS) $(BUILDDIR)/.*.c.dep $(SYMLINKS)
if [ "$(BUILDDIR)x" != ".x" ]; then rm -rf $(BUILDDIR); fi
+ make -C $(BUILDDIR)/ubi-utils clean
$(SYMLINKS):
ln -sf ../fs/jffs2/$@ $@