diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | ubi-utils/Makefile | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -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 \ |