kpatch/kmod/Makefile

18 lines
363 B
Makefile
Raw Normal View History

include ../Makefile.inc
all: clean
$(MAKE) -C core
install:
2014-02-18 15:23:17 +00:00
$(INSTALL) -d $(MODULESDIR)/$(shell uname -r)/kpatch
$(INSTALL) -m 644 core/kpatch.ko $(MODULESDIR)/$(shell uname -r)/kpatch
$(INSTALL) -d $(DATADIR)/patch
$(INSTALL) -m 644 patch/* $(DATADIR)/patch
uninstall:
$(RM) -R $(MODULESDIR)/*/kpatch
$(RM) -R $(DATADIR)
clean:
$(MAKE) -C core clean