aravid-marvell / simple-kmod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple-kmod

Simple kmod example taken from tldp.org.

To build on Fedora, first install:

sudo dnf install kernel-devel make gcc

To build for the currently running kernel use:

make all

To build for a specific kernel:

make all KVER=5.3.4-300.fc31.x86_64

Load module:

sudo insmod hello-1.ko

About

License:MIT License


Languages

Language:C 81.0%Language:Makefile 19.0%