2014-02-13 16:04:35 +00:00
|
|
|
include ../Makefile.inc
|
|
|
|
|
2014-03-27 04:26:31 +00:00
|
|
|
all: clean
|
2014-02-18 04:37:07 +00:00
|
|
|
$(MAKE) -C core
|
2014-02-13 16:04:35 +00:00
|
|
|
|
|
|
|
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
|
2014-03-27 22:56:37 +00:00
|
|
|
$(INSTALL) -m 644 core/Module.symvers $(MODULESDIR)/$(shell uname -r)/kpatch
|
2014-02-13 16:04:35 +00:00
|
|
|
$(INSTALL) -d $(DATADIR)/patch
|
|
|
|
$(INSTALL) -m 644 patch/* $(DATADIR)/patch
|
|
|
|
|
2014-03-20 14:29:06 +00:00
|
|
|
uninstall:
|
|
|
|
$(RM) -R $(MODULESDIR)/*/kpatch
|
|
|
|
$(RM) -R $(DATADIR)
|
|
|
|
|
2014-02-13 16:04:35 +00:00
|
|
|
clean:
|
2014-02-18 04:37:07 +00:00
|
|
|
$(MAKE) -C core clean
|