xref: /freebsd/sys/modules/ralfw/Makefile.inc (revision 193d9e768ba63fcfb187cfd17f461f7d41345048)
1b032f27cSSam Leffler# $FreeBSD$
2b032f27cSSam Leffler
3b032f27cSSam Leffler#
4b032f27cSSam Leffler# Common rules for building firmware.  Note this gets auto-included
5b032f27cSSam Leffler# by the subdir Makefile's as a consequence of included bsd.kmod.mk.
6b032f27cSSam Leffler#
7b032f27cSSam LefflerKMOD=	${IMG}fw
8b032f27cSSam Leffler_FIRM=	${IMG}.fw
9b032f27cSSam Leffler
10b032f27cSSam LefflerCLEANFILES+=	${_FIRM}
11b032f27cSSam Leffler
12b032f27cSSam LefflerFIRMWS=	${_FIRM}:${KMOD}
13b032f27cSSam Leffler
14*193d9e76SEnji Cooper${_FIRM}: ${SRCTOP}/sys/contrib/dev/ral/${_FIRM}.uu
15b032f27cSSam Leffler	uudecode -p $? > ${.TARGET}
16