From 5778b361e81ebdd9b4cbe66d82dd04955dc10bc4 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Wed, 26 Nov 2008 14:27:45 +0100 Subject: Separate '-m' and the mode with a space when invoking 'install' Some 'install' versions (e.g. this of OpenEmbedded) require the mode to be a separate argument and don't understand the '-m0755' syntax: .../staging/x86_64-linux/usr/bin/install-sh: ./-m0755 does not exist. Signed-off-by: Enrico Scholz Signed-off-by: Artem Bityutskiy --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 796c31b..8319599 100644 --- a/Makefile +++ b/Makefile @@ -96,7 +96,7 @@ $(BUILDDIR)/fectest: $(BUILDDIR)/fectest.o $(BUILDDIR)/crc32.o $(BUILDDIR)/fec.o install: ${TARGETS} mkdir -p ${DESTDIR}/${SBINDIR} - install -m0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/ + install -m 0755 ${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 -- cgit v1.2.3