From 3f171e39e8c17d673fc9dea3364857c7e611c626 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 29 Aug 2007 18:06:45 +0300 Subject: ubi-utils: add utils to make install Signed-off-by: Artem Bityutskiy --- Makefile | 1 + ubi-utils/Makefile | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 111bb6a..503021c 100644 --- a/Makefile +++ b/Makefile @@ -92,3 +92,4 @@ install: ${TARGETS} install -m0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/ mkdir -p ${DESTDIR}/${MANDIR}/man1 gzip -c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz + make -C $(BUILDDIR)/ubi-utils install diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile index bef8227..db984c8 100644 --- a/ubi-utils/Makefile +++ b/ubi-utils/Makefile @@ -10,7 +10,9 @@ BUILD_OS := $(shell uname -o) OPTFLAGS := -O2 -g -Wall KERNELHDR := ../include DESTDIR := /usr/local -SBINDIR := bin +SBINDIR=/usr/sbin +MANDIR=/usr/man +INCLUDEDIR=/usr/include CC := $(CROSS)gcc CFLAGS := -I./inc -I./src -I$(KERNELHDR) $(OPTFLAGS) -Werror \ -- cgit v1.2.3