summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--ubi-utils/Makefile1
2 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 6ca6e0d..796c31b 100644
--- a/Makefile
+++ b/Makefile
@@ -56,8 +56,8 @@ 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
- make -C $(BUILDDIR)/mkfs.ubifs clean
+ $(MAKE) -C $(BUILDDIR)/ubi-utils clean
+ $(MAKE) -C $(BUILDDIR)/mkfs.ubifs clean
$(SYMLINKS):
ln -sf ../fs/jffs2/$@ $@
@@ -99,5 +99,5 @@ install: ${TARGETS}
install -m0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/
mkdir -p ${DESTDIR}/${MANDIR}/man1
gzip -9c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz
- make -C $(BUILDDIR)/ubi-utils install
- make -C $(BUILDDIR)/mkfs.ubifs install
+ $(MAKE) -C $(BUILDDIR)/ubi-utils install
+ $(MAKE) -C $(BUILDDIR)/mkfs.ubifs install
diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile
index bc27f7b..4cca316 100644
--- a/ubi-utils/Makefile
+++ b/ubi-utils/Makefile
@@ -30,7 +30,6 @@ vpath %.c ./src
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< -g -Wp,-MD,.$(shell basename $<).dep
all: $(TARGETS)
- $(MAKE) -C new-utils
IGNORE=${wildcard .*.c.dep}
-include ${IGNORE}