summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorManuel Bentele2020-09-10 10:58:51 +0200
committerManuel Bentele2020-09-16 07:37:56 +0200
commitde77f01a0985432617ee21ad41ec39fecf55fec8 (patch)
treeec29220b7e5bd167ef3da44c515aea49b566d79d /kernel
parentRenamed files from loop to xloop and generate package only in Release mode (diff)
downloadxloop-de77f01a0985432617ee21ad41ec39fecf55fec8.tar.gz
xloop-de77f01a0985432617ee21ad41ec39fecf55fec8.tar.xz
xloop-de77f01a0985432617ee21ad41ec39fecf55fec8.zip
Fixed major number of xloop device and device names in xlosetup
Diffstat (limited to 'kernel')
-rw-r--r--kernel/CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/CMakeLists.txt b/kernel/CMakeLists.txt
index 7cc79dd..ffa97e6 100644
--- a/kernel/CMakeLists.txt
+++ b/kernel/CMakeLists.txt
@@ -11,17 +11,11 @@ set(KERNEL_DIR "/lib/modules/${CMAKE_SYSTEM_VERSION}"
CACHE PATH "Path to kernel sources to compile against")
# define xloop device specific options
-set(BLK_DEV_XLOOP_MIN_COUNT 8
- CACHE STRING "Number of xloop devices to pre-create at init time")
-set(XLOOP_MAJOR 120
- CACHE STRING "Major number for xloop devices")
set(XLOOP_CTRL_MINOR 15
CACHE STRING "Minor number for xloop-control device")
# print configured settings
message(STATUS "Kernel module path is " ${KERNEL_DIR})
-message(STATUS "Number of xloop devices to pre-create at init time is " ${BLK_DEV_XLOOP_MIN_COUNT})
-message(STATUS "Major number for xloop devices is " ${XLOOP_MAJOR})
message(STATUS "Minor number for xloop-control device is " ${XLOOP_CTRL_MINOR})
# set C flags for a Linux kernel module