1b032f27cSSam Leffler# 2b032f27cSSam Leffler# Common rules for building firmware. Note this gets auto-included 3b032f27cSSam Leffler# by the subdir Makefile's as a consequence of included bsd.kmod.mk. 4b032f27cSSam Leffler# 5b032f27cSSam LefflerKMOD= ${IMG}fw 6b032f27cSSam Leffler_FIRM= ${IMG}.fw 7b032f27cSSam Leffler 8b032f27cSSam LefflerCLEANFILES+= ${_FIRM} 9b032f27cSSam Leffler 10b032f27cSSam LefflerFIRMWS= ${_FIRM}:${KMOD} 11b032f27cSSam Leffler 12193d9e76SEnji Cooper${_FIRM}: ${SRCTOP}/sys/contrib/dev/ral/${_FIRM}.uu 13*f68801dfSBryan Drewery uudecode -p ${.ALLSRC} > ${.TARGET} 14