From 7018ac8e47f23c9765efe33a7068c8f6f2fab14d Mon Sep 17 00:00:00 2001 From: RobertWalstab Date: Thu, 9 Jul 2020 12:10:52 +0200 Subject: mpm: systemd: systemd configuration are getting now installed under consideration of the device type --- mpm/systemd/CMakeLists.txt | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'mpm/systemd/CMakeLists.txt') diff --git a/mpm/systemd/CMakeLists.txt b/mpm/systemd/CMakeLists.txt index b8f6e5901..32461b7fb 100644 --- a/mpm/systemd/CMakeLists.txt +++ b/mpm/systemd/CMakeLists.txt @@ -43,7 +43,19 @@ install(FILES ) # udev rules -install(FILES - ${CMAKE_CURRENT_SOURCE_DIR}/udev/70-sfp-net.rules - DESTINATION ${UDEV_UDEVDIR}/rules.d +if(MPM_DEVICE STREQUAL "n3xx") + install(FILES + ${CMAKE_CURRENT_SOURCE_DIR}/udev/n3xx/70-sfp-net.rules + DESTINATION ${UDEV_UDEVDIR}/rules.d +) +elseif(MPM_DEVICE STREQUAL "e320") + install(FILES + ${CMAKE_CURRENT_SOURCE_DIR}/udev/e3xx/70-sfp-net.rules + DESTINATION ${UDEV_UDEVDIR}/rules.d +) +elseif(MPM_DEVICE STREQUAL "e31x") + install(FILES + ${CMAKE_CURRENT_SOURCE_DIR}/udev/e3xx/70-sfp-net.rules + DESTINATION ${UDEV_UDEVDIR}/rules.d ) +endif(MPM_DEVICE STREQUAL "n3xx") -- cgit v1.2.3