opnsense-src/share/examples/kld/firmware/fwimage/Makefile
Ed Maste bedca8b119 Uuencode the sample "binary" firmware image file (instead of explicitly
adding \0 bytes).  This is a technique that would be used in an actual
driver and is more suitable as an example.

Reviewed by:    mlaier
2011-04-01 23:47:10 +00:00

11 lines
174 B
Makefile

# $FreeBSD$
KMOD= beastie
FIRMWS= firmware.img:beastie
CLEANFILES= firmware.img
firmware.img: firmware.img.uu
uudecode -p ${.ALLSRC} > ${.TARGET}
.include <bsd.kmod.mk>