Lets users quickly install ckmake onto /usr/bin/
with DESTDIR as an option target directory.
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
endif
export KLIB_BUILD ?= $(KLIB)/build
+DESTDIR?=
+
ifeq ($(KERNELRELEASE),)
export PWD := $(shell pwd)
export COMPAT_BASE_TREE := "linux-next.git"
install: modules
+install-ckmake:
+ @mkdir -p $(DESTDIR)/usr/bin/
+ @install bin/ckmake $(DESTDIR)/usr/bin/
+
clean:
$(MAKE) -C $(KLIB_BUILD) M=$(PWD) clean