mirror of
https://github.com/dynup/kpatch
synced 2024-12-12 16:34:40 +00:00
8085d0402b
Build and install the kpatch core module with make and make install, rather than building it every time with kpatch build. The only downside to this approach is that the user has to make and make install kpatch every time they get a new kernel. But this is only temporary, until the kpatch module is delivered in an RPM.
14 lines
299 B
Makefile
14 lines
299 B
Makefile
SHELL = /bin/sh
|
|
CC = gcc
|
|
|
|
INSTALL = /usr/bin/install
|
|
|
|
PREFIX ?= /usr/local
|
|
SBINDIR = $(DESTDIR)$(PREFIX)/sbin
|
|
MODULESDIR = $(DESTDIR)$(PREFIX)/lib/modules
|
|
LIBEXECDIR = $(DESTDIR)$(PREFIX)/libexec/kpatch
|
|
DATADIR = $(DESTDIR)$(PREFIX)/share/kpatch
|
|
|
|
.PHONY: all install clean
|
|
.DEFAULT: all
|