mirror of
https://github.com/ebrandi/FDD-book.git
synced 2026-12-06 00:23:30 +00:00
12 lines
360 B
Makefile
12 lines
360 B
Makefile
|
|
# Makefile for hello_world kernel module
|
||
|
|
#
|
||
|
|
# Companion for Chapter 2. The KMOD name is "hello_world", so this
|
||
|
|
# Makefile produces "hello_world.ko" on build, NOT "hello.ko".
|
||
|
|
# (The chapter text has a minor phrasing glitch that says "hello.ko";
|
||
|
|
# the filename you actually load is hello_world.ko.)
|
||
|
|
|
||
|
|
KMOD= hello_world
|
||
|
|
SRCS= hello_world.c
|
||
|
|
|
||
|
|
.include <bsd.kmod.mk>
|