From b7961fe9e9470878069f9b08aef7e0fafad76ca0 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Thu, 5 Apr 2007 23:41:21 +0000 Subject: 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. --- sys/dev/microcode/aic7xxx/Makefile | 3 ++- sys/dev/microcode/atmel/Makefile | 3 ++- sys/dev/microcode/bnx/Makefile | 3 ++- sys/dev/microcode/cirruslogic/Makefile | 3 ++- sys/dev/microcode/fxp/Makefile | 3 ++- sys/dev/microcode/kue/Makefile | 3 ++- sys/dev/microcode/neomagic/Makefile | 3 ++- sys/dev/microcode/ral/Makefile | 3 ++- sys/dev/microcode/rum/Makefile | 3 ++- sys/dev/microcode/siop/Makefile | 3 ++- sys/dev/microcode/symbol/Makefile | 3 ++- sys/dev/microcode/tigon/Makefile | 3 ++- sys/dev/microcode/typhoon/Makefile | 3 ++- sys/dev/microcode/uyap/Makefile | 3 ++- sys/dev/microcode/yds/Makefile | 3 ++- sys/dev/microcode/zydas/Makefile | 3 ++- 16 files changed, 32 insertions(+), 16 deletions(-) (limited to 'sys') 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 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") || \ -- cgit v1.2.3