mirror of
https://github.com/dynup/kpatch
synced 2025-02-18 10:46:55 +00:00
Organize the files functionally: - kmod/core: core kmod source - kmod/patch: patch kmod source - kpatch: kpatch script - kpatch-build: kpatch build script and supporting tools - contrib: distro-related files
16 lines
383 B
Makefile
16 lines
383 B
Makefile
CFLAGS=-I../kmod/core
|
|
|
|
all: create-diff-object add-patches-section link-vmlinux-syms
|
|
|
|
create-diff-object: create-diff-object.c
|
|
$(CC) $(CFLAGS) -o $@ $^ -lelf
|
|
|
|
add-patches-section: add-patches-section.c
|
|
$(CC) $(CFLAGS) -o $@ $^ -lelf
|
|
|
|
link-vmlinux-syms: link-vmlinux-syms.c
|
|
$(CC) $(CFLAGS) -o $@ $^ -lelf
|
|
|
|
clean:
|
|
$(RM) -Rf create-diff-object add-patches-section link-vmlinux-syms
|