Skip to content

Commit

Permalink
cmake: fix file permission issue temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSnowfield committed Sep 15, 2024
1 parent 3011bac commit 326cf1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions driver/neko.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ set(CUSTOM_IMM_PATH ${ELKERNEL_BUILD_DIR}/CMakeFiles/driver.dir)

COMMAND mv -f
${_FILE_DIR}/${_FILE}.obj
${_NEKO_IMM}
${CUSTOM_IMM_PATH}/${_FILE_OF_DRIVER}/${_FILE}.obj
)

add_custom_command(TARGET ${_FILE} POST_BUILD
COMMENT "[ ** ] Patching symbol '_neko_load@0'"
COMMAND python3 ${ELKERNEL_TOOL_DIR}/patch-symbol.py
_neko_load@0:_neko_load
${_NEKO_IMM} ${_NEKO_IMM}
${CUSTOM_IMM_PATH}/${_FILE_OF_DRIVER}/${_FILE}.obj ${_NEKO_IMM}
)

add_custom_command(TARGET ${_FILE} POST_BUILD
Expand All @@ -56,7 +56,7 @@ set(CUSTOM_IMM_PATH ${ELKERNEL_BUILD_DIR}/CMakeFiles/driver.dir)
)

add_custom_command(TARGET ${_FILE} POST_BUILD
COMMENT "[ ** ] Patching symbol '_krnl_ProcessNotifyLib@0'"
COMMENT "[ ** ] Patching symbol '_krnl_ProcessNotifyLib@12'"
COMMAND python3 ${ELKERNEL_TOOL_DIR}/patch-symbol.py
_krnl_ProcessNotifyLib@12:_krnl_ProcessNotifyLib
${_NEKO_IMM} ${_NEKO_IMM}
Expand All @@ -69,4 +69,4 @@ set(CUSTOM_IMM_PATH ${ELKERNEL_BUILD_DIR}/CMakeFiles/driver.dir)
-L${ELKERNEL_BUILD_DIR} -lnekostub
)

endforeach()
endforeach()

0 comments on commit 326cf1c

Please sign in to comment.