diff --git a/.gitignore b/.gitignore index 79a5115..ef046e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -elf-diff-copy/elf-diff-copy +kpatch-diff-gen/kpatch-diff-gen *.o *.o.cmd *.ko diff --git a/Makefile b/Makefile index 794eb1f..1af3c55 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ all: - $(MAKE) -C kpatch-gen + $(MAKE) -C kpatch-diff-gen diff --git a/kpatch-create b/kpatch-create index 43ce294..d4b64f7 100755 --- a/kpatch-create +++ b/kpatch-create @@ -14,7 +14,7 @@ KMOD_DIR="$SCRIPT_DIR/kmod" KPATCH_REG="$KMOD_DIR/kpatch-register.o" KPATCH_LDS="$KMOD_DIR/kpatch.lds" -KPATCH_GEN="$SCRIPT_DIR/kpatch-gen/kpatch-gen" +KPATCH_GEN="$SCRIPT_DIR/kpatch-diff-gen/kpatch-diff-gen" KPATCHGCC="$SCRIPT_DIR/kpatch-gcc" JOBS=4 MAKE_CMD="make -j$JOBS vmlinux" diff --git a/kpatch-gen/Makefile b/kpatch-diff-gen/Makefile similarity index 84% rename from kpatch-gen/Makefile rename to kpatch-diff-gen/Makefile index 442a3ee..1bb5cbc 100644 --- a/kpatch-gen/Makefile +++ b/kpatch-diff-gen/Makefile @@ -1,6 +1,6 @@ CC=gcc CFLAGS=-g -Wall -PROG=kpatch-gen +PROG=kpatch-diff-gen .PHONY: all all: $(PROG) diff --git a/kpatch-gen/kpatch-gen.c b/kpatch-diff-gen/kpatch-diff-gen.c similarity index 100% rename from kpatch-gen/kpatch-gen.c rename to kpatch-diff-gen/kpatch-diff-gen.c diff --git a/kpatch-gen/kpatch-gen b/kpatch-gen/kpatch-gen deleted file mode 100755 index bb8ae0f..0000000 Binary files a/kpatch-gen/kpatch-gen and /dev/null differ