summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/aic7xxx
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2007-04-05 23:41:21 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2007-04-05 23:41:21 +0000
commitb7961fe9e9470878069f9b08aef7e0fafad76ca0 (patch)
treeb149e0ad0b9aabad1d62ded61a8a574baf7cd2db /sys/dev/microcode/aic7xxx
parentbbbfcd97fd67f708eb6cb9417f1cb96ca9efcd4b (diff)
Allow usb microcode to be built in a cross environment. System endian has been
factored out of the result binaries already. Still need to address non usb. ok deraadt.
Diffstat (limited to 'sys/dev/microcode/aic7xxx')
-rw-r--r--sys/dev/microcode/aic7xxx/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/microcode/aic7xxx/Makefile b/sys/dev/microcode/aic7xxx/Makefile
index a3031e1aa47..7a34c83c3f7 100644
--- a/sys/dev/microcode/aic7xxx/Makefile
+++ b/sys/dev/microcode/aic7xxx/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2004/09/18 19:51:53 mickey Exp $
+# $OpenBSD: Makefile,v 1.10 2007/04/05 23:41:20 drahn Exp $
# $FreeBSD: src/sys/dev/aic7xxx/Makefile,v 1.6 1999/08/28 00:41:22 peter Exp $
PROG= aicasm
@@ -12,6 +12,7 @@ SRCS= ${GENSRCS} ${CSRCS}
CLEANFILES+= ${GENSRCS} ${GENHDRS} y.output
DPADD+= ${LIBL}
LDADD+= -ll
+CC=${HOSTCC}
# Correct path for kernel builds
# Don't rely on the kernel's .depend file