summaryrefslogtreecommitdiff
path: root/sys
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
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')
-rw-r--r--sys/dev/microcode/aic7xxx/Makefile3
-rw-r--r--sys/dev/microcode/atmel/Makefile3
-rw-r--r--sys/dev/microcode/bnx/Makefile3
-rw-r--r--sys/dev/microcode/cirruslogic/Makefile3
-rw-r--r--sys/dev/microcode/fxp/Makefile3
-rw-r--r--sys/dev/microcode/kue/Makefile3
-rw-r--r--sys/dev/microcode/neomagic/Makefile3
-rw-r--r--sys/dev/microcode/ral/Makefile3
-rw-r--r--sys/dev/microcode/rum/Makefile3
-rw-r--r--sys/dev/microcode/siop/Makefile3
-rw-r--r--sys/dev/microcode/symbol/Makefile3
-rw-r--r--sys/dev/microcode/tigon/Makefile3
-rw-r--r--sys/dev/microcode/typhoon/Makefile3
-rw-r--r--sys/dev/microcode/uyap/Makefile3
-rw-r--r--sys/dev/microcode/yds/Makefile3
-rw-r--r--sys/dev/microcode/zydas/Makefile3
16 files changed, 32 insertions, 16 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
diff --git a/sys/dev/microcode/atmel/Makefile b/sys/dev/microcode/atmel/Makefile
index ba2ced32be4..5197473dbb3 100644
--- a/sys/dev/microcode/atmel/Makefile
+++ b/sys/dev/microcode/atmel/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.13 2006/11/07 23:52:45 deraadt Exp $
+# $OpenBSD: Makefile,v 1.14 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
# USB capable systems only
.if (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "alpha") || \
diff --git a/sys/dev/microcode/bnx/Makefile b/sys/dev/microcode/bnx/Makefile
index 765bbf44e1b..22fd193efca 100644
--- a/sys/dev/microcode/bnx/Makefile
+++ b/sys/dev/microcode/bnx/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.1 2006/09/20 22:16:04 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
# PCI capable systems only
.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
diff --git a/sys/dev/microcode/cirruslogic/Makefile b/sys/dev/microcode/cirruslogic/Makefile
index 0cb81a6ad8d..ad9cc068179 100644
--- a/sys/dev/microcode/cirruslogic/Makefile
+++ b/sys/dev/microcode/cirruslogic/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.3 2006/05/14 22:05:47 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
# PCI capable systems only
.if (${MACHINE} == "i386") || (${MACHINE} == "amd64")
diff --git a/sys/dev/microcode/fxp/Makefile b/sys/dev/microcode/fxp/Makefile
index c0376becfa5..f9ecb944955 100644
--- a/sys/dev/microcode/fxp/Makefile
+++ b/sys/dev/microcode/fxp/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 2005/06/16 08:23:49 markus Exp $
+# $OpenBSD: Makefile,v 1.5 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
# PCI capable systems only
.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
diff --git a/sys/dev/microcode/kue/Makefile b/sys/dev/microcode/kue/Makefile
index cfd9b98d38e..54017854456 100644
--- a/sys/dev/microcode/kue/Makefile
+++ b/sys/dev/microcode/kue/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.6 2006/11/07 23:52:45 deraadt Exp $
+# $OpenBSD: Makefile,v 1.7 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
# USB capable systems only
.if (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "alpha") || \
diff --git a/sys/dev/microcode/neomagic/Makefile b/sys/dev/microcode/neomagic/Makefile
index 692bfc0e516..e47e189ed7f 100644
--- a/sys/dev/microcode/neomagic/Makefile
+++ b/sys/dev/microcode/neomagic/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.2 2005/06/16 08:23:49 markus Exp $
+# $OpenBSD: Makefile,v 1.3 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
.if (${MACHINE} == "i386")
diff --git a/sys/dev/microcode/ral/Makefile b/sys/dev/microcode/ral/Makefile
index 233757c54a8..2db0afcd9e4 100644
--- a/sys/dev/microcode/ral/Makefile
+++ b/sys/dev/microcode/ral/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 2006/08/17 08:32:30 damien Exp $
+# $OpenBSD: Makefile,v 1.5 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
# PCI capable systems only
.if (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "alpha") || \
diff --git a/sys/dev/microcode/rum/Makefile b/sys/dev/microcode/rum/Makefile
index 913cd299a36..f69e464bf96 100644
--- a/sys/dev/microcode/rum/Makefile
+++ b/sys/dev/microcode/rum/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.2 2006/11/07 23:52:45 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
# USB capable systems only
.if (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "alpha") || \
diff --git a/sys/dev/microcode/siop/Makefile b/sys/dev/microcode/siop/Makefile
index 223a767324a..bffd32c25ee 100644
--- a/sys/dev/microcode/siop/Makefile
+++ b/sys/dev/microcode/siop/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2004/03/12 00:04:57 miod Exp $
+# $OpenBSD: Makefile,v 1.4 2007/04/05 23:41:20 drahn Exp $
# $NetBSD: Makefile,v 1.1 2000/04/21 17:57:01 bouyer Exp $
all: siop.out osiop.out oosiop.out
@@ -6,6 +6,7 @@ all: siop.out osiop.out oosiop.out
PROG= ncr53cxxx
MKSHARE=no
MAN=
+CC=${HOSTCC}
.include <bsd.prog.mk>
diff --git a/sys/dev/microcode/symbol/Makefile b/sys/dev/microcode/symbol/Makefile
index cbad91d602e..1ec9c674cb8 100644
--- a/sys/dev/microcode/symbol/Makefile
+++ b/sys/dev/microcode/symbol/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.5 2004/12/31 00:28:31 deraadt Exp $
+# $OpenBSD: Makefile,v 1.6 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
# pcmcia capable systems only
.if (${MACHINE} == "i386") || (${MACHINE} == "macppc") || \
diff --git a/sys/dev/microcode/tigon/Makefile b/sys/dev/microcode/tigon/Makefile
index db9ed7f9e17..1c3d3692697 100644
--- a/sys/dev/microcode/tigon/Makefile
+++ b/sys/dev/microcode/tigon/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 2005/06/16 08:23:49 markus Exp $
+# $OpenBSD: Makefile,v 1.5 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
# PCI capable systems only
.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
diff --git a/sys/dev/microcode/typhoon/Makefile b/sys/dev/microcode/typhoon/Makefile
index 4ad5161d993..cfd665f1592 100644
--- a/sys/dev/microcode/typhoon/Makefile
+++ b/sys/dev/microcode/typhoon/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 2005/06/16 08:23:49 markus Exp $
+# $OpenBSD: Makefile,v 1.5 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
# PCI capable systems only
.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
diff --git a/sys/dev/microcode/uyap/Makefile b/sys/dev/microcode/uyap/Makefile
index 381f3572baf..7ad511035c6 100644
--- a/sys/dev/microcode/uyap/Makefile
+++ b/sys/dev/microcode/uyap/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 2006/11/07 23:52:45 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
# USB capable systems only
.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
diff --git a/sys/dev/microcode/yds/Makefile b/sys/dev/microcode/yds/Makefile
index 73929545400..dac8c03a554 100644
--- a/sys/dev/microcode/yds/Makefile
+++ b/sys/dev/microcode/yds/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.2 2005/06/16 08:23:49 markus Exp $
+# $OpenBSD: Makefile,v 1.3 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
# PCI capable systems only
.if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \
diff --git a/sys/dev/microcode/zydas/Makefile b/sys/dev/microcode/zydas/Makefile
index a3af8ee2ca7..b4c6a4a9fe0 100644
--- a/sys/dev/microcode/zydas/Makefile
+++ b/sys/dev/microcode/zydas/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 2006/11/13 02:52:46 jsg Exp $
+# $OpenBSD: Makefile,v 1.5 2007/04/05 23:41:20 drahn Exp $
NOPROG=
NOMAN=
+CC=${HOSTCC}
# USB capable systems only
.if (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "alpha") || \