wrong directory checked when building MI40xx driver
This commit is contained in:
parent
4a308c6ddf
commit
58a5dd0b18
@ -42,7 +42,7 @@ add_custom_command(OUTPUT ${DRIVER_FILE}
|
|||||||
COMMENT "Building spc_smp.ko"
|
COMMENT "Building spc_smp.ko"
|
||||||
WORKING_DIRECTORY ${SPC_SRC}
|
WORKING_DIRECTORY ${SPC_SRC}
|
||||||
VERBATIM)
|
VERBATIM)
|
||||||
if(EXISTS ${CMAKE_SOURCE_DIR}/drivers/Spectrum-MI40xxSeries/linux)
|
if(EXISTS ${SPC_SRC})
|
||||||
add_custom_target (micx_drv ALL DEPENDS ${DRIVER_FILE} )
|
add_custom_target (micx_drv ALL DEPENDS ${DRIVER_FILE} )
|
||||||
install(FILES ${DRIVER_FILE} DESTINATION /lib/modules/${CMAKE_SYSTEM_VERSION}/kernel/damaris)
|
install(FILES ${DRIVER_FILE} DESTINATION /lib/modules/${CMAKE_SYSTEM_VERSION}/kernel/damaris)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user