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-05-13 19:47:38 +00:00
|
|
|
$(INSTALL) -d $(MODULESDIR)/$(shell uname -r)/extra/kpatch
|
|
|
|
$(INSTALL) -m 644 core/kpatch.ko $(MODULESDIR)/$(shell uname -r)/extra/kpatch
|
|
|
|
$(INSTALL) -m 644 core/Module.symvers $(MODULESDIR)/$(shell uname -r)/extra/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:
|
2014-06-20 14:07:23 +00:00
|
|
|
$(RM) -R $(MODULESDIR)/*/extra/kpatch
|
2014-03-20 14:29:06 +00:00
|
|
|
$(RM) -R $(DATADIR)
|
|
|
|
|
2014-02-13 16:04:35 +00:00
|
|
|
clean:
|
2014-02-18 04:37:07 +00:00
|
|
|
$(MAKE) -C core clean
|