pastebin - collaborative debugging tool
rovema.kpaste.net RSS


Build instructions for simatic kernel modules
Posted by Anonymous on Tue 16th Aug 2022 11:03
raw | new post

  1. #
  2. # build simatics kernel module
  3. #
  4.  
  5. # copy git bundle
  6. $ cp ../build_kernel_from_debsrc/try6/64bit/simatic_build/rovema_simatickernelmodules_git20220304_001.bundle .
  7.  
  8. # unpack git bundle
  9. $ git clone rovema_simatickernelmodules_git20220304_001.bundle
  10.  
  11. # go to directory where the kernel module sources are
  12. $ cd rovema_simatickernelmodules_git20220304_001/
  13. $ cd simatic-ipc-modules-lsp-v1.2.0RC1/
  14.  
  15. # build kernel modules
  16. # /home/rmainz/work/kernel_test001/linux-5.10.52/ is the directory of the kernel we want to build against
  17. $ make -C /home/rmainz/work/kernel_test001/linux-5.10.52/ M=$PWD
  18. make: Entering directory '/home/rmainz/work/kernel_test001/linux-5.10.52'
  19.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc.o
  20.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-leds.o
  21.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-wdt.o
  22.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-batt.o
  23.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-sensors.o
  24.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-ps.o
  25.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-nvram.o
  26.   MODPOST /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/Module.symvers
  27.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-batt.mod.o
  28.   LD [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-batt.ko
  29.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-leds.mod.o
  30.   LD [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-leds.ko
  31.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-nvram.mod.o
  32.   LD [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-nvram.ko
  33.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-ps.mod.o
  34.   LD [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-ps.ko
  35.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-sensors.mod.o
  36.   LD [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-sensors.ko
  37.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-wdt.mod.o
  38.   LD [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc-wdt.ko
  39.   CC [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc.mod.o
  40.   LD [M]  /home/rmainz/work/tmp/rovema_simatickernelmodules_git20220304_001/simatic-ipc-modules-lsp-v1.2.0RC1/simatic-ipc.ko
  41. make: Leaving directory '/home/rmainz/work/kernel_test001/linux-5.10.52'
  42.  
  43. # done.

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at