From: Artem Bityutskiy Date: Wed, 29 Aug 2007 14:28:08 +0000 (+0300) Subject: ubi-utils: build utils from top dir X-Git-Tag: v1.2.0~150 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1e8903a0bd3fdddd5ce6bfdeaed49249fc6ab9b5;p=mtd-utils.git ubi-utils: build utils from top dir Signed-off-by: Artem Bityutskiy --- 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/$@ $@