Skip to content

Commit

Permalink
CMakeLists.txt: Rename target ulpatch_patch_obj_{ftrace,hello}
Browse files Browse the repository at this point in the history
Signed-off-by: Rong Tao <[email protected]>
  • Loading branch information
Rtoax committed Jun 12, 2024
1 parent 38f95d5 commit 9e58ed1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/patch/objects/ftrace/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include_directories(../../../)

enable_language(C ASM)

set(FTRACE_OBJ_TARGET ulpatch_patch_obj)
set(FTRACE_OBJ_TARGET ulpatch_patch_obj_ftrace)

find_library(ELF elf /usr/lib64)

Expand Down
2 changes: 1 addition & 1 deletion src/patch/objects/hello/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
include_directories(../../../)

set(ULPATCH_OBJ_TARGET ulpatch_hello_obj)
set(ULPATCH_OBJ_TARGET ulpatch_patch_obj_hello)

find_library(ELF elf /usr/lib64)

Expand Down
3 changes: 2 additions & 1 deletion src/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ link_libraries(${ELF}
ulpatch_arch
ulpatch_elf
ulpatch_patch
ulpatch_patch_obj
ulpatch_patch_obj_ftrace
ulpatch_patch_obj_hello
ulpatch_utils
)

Expand Down

0 comments on commit 9e58ed1

Please sign in to comment.