summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/atmel/Makefile
blob: 923cf7027915a4d68f18d6ba5aff530a022cbe0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $OpenBSD: Makefile,v 1.3 2004/11/17 00:52:38 deraadt Exp $

# USB capable systems only
.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
    (${MACHINE} == "alpha") || (${MACHINE} == "sparc64") || \
    (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "cats") || \
    (${MACHINE} == "hppa")

FIRM= 	atu-intersil-int atu-rfmd-int atu-rfmd2958-int \
	atu-intersil-ext atu-rfmd-ext atu-rfmd2958-ext
CLEANFILES+= ${FIRM} build

all:	build
	${.OBJDIR}/build

NOPROG=
NOMAN=

.include <bsd.prog.mk>

afterinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
	    ${FIRM} ${DESTDIR}/etc/firmware
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
	    ${.CURDIR}/atu-license ${DESTDIR}/etc/firmware


.endif