mirror of
https://github.com/ebrandi/FDD-book.git
synced 2026-12-06 00:23:30 +00:00
Organize companion code and materials by book part: part-01/ Foundations part-02/ Kernel & driver fundamentals part-03/ Character & block devices part-04/ Networking & storage part-05/ Buses & advanced topics part-06/ Debugging & performance part-07/ Real-world drivers appendices/ Supplementary material README.md Overview and build instructions
11 lines
360 B
Makefile
11 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>
|