freebsd-nq/sys/modules/usb/rsufw/Makefile.inc
Enji Cooper 193d9e768b sys/modules: normalize .CURDIR-relative paths to SRCTOP
This simplifies make output/logic

Tested with:	`cd sys/modules; make ALL_MODULES=` on amd64
MFC after:	1 month
Sponsored by:	Dell EMC Isilon
2017-03-04 10:10:17 +00:00

16 lines
333 B
Makefile

# $FreeBSD$
#
# Common rules for building firmware. Note this gets auto-included
# by the subdir Makefile's as a consequence of included bsd.kmod.mk.
_FIRM= ${IMG}.fw
CLEANFILES+= ${_FIRM}
FIRMWS= ${_FIRM}:${KMOD}:120
# FIRMWARE_LICENSE= realtek
${_FIRM}: ${SRCTOP}/sys/contrib/dev/rsu/${_FIRM}.uu
uudecode -p $? > ${.TARGET}