summaryrefslogtreecommitdiffstats
path: root/sys/modules/aic7xxx
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2002-11-03 23:48:14 +0000
committerscottl <scottl@FreeBSD.org>2002-11-03 23:48:14 +0000
commit974996d4b915760f1e3b6ec4ed8ed8e96628b940 (patch)
treecd6f59bd1009a739b31efb23814cb6022f101aba /sys/modules/aic7xxx
parenta743b5e38f147e7abd37782544a0cabf73fdb6cc (diff)
downloadFreeBSD-src-974996d4b915760f1e3b6ec4ed8ed8e96628b940.zip
FreeBSD-src-974996d4b915760f1e3b6ec4ed8ed8e96628b940.tar.gz
Hook the aic7xxx modules up. This requires some extra care since aicasm
is a compiler tool and needs to be compiled by the host compiler. I've tested this in i386->sparc cross-build, 4.7->current upgrade, normal buildkernel target, and normal /sys/i386/compile/GENERIC configurations. Submitted by: ru
Diffstat (limited to 'sys/modules/aic7xxx')
-rw-r--r--sys/modules/aic7xxx/ahc/Makefile2
-rw-r--r--sys/modules/aic7xxx/ahd/Makefile2
-rw-r--r--sys/modules/aic7xxx/aicasm/Makefile29
3 files changed, 6 insertions, 27 deletions
diff --git a/sys/modules/aic7xxx/ahc/Makefile b/sys/modules/aic7xxx/ahc/Makefile
index 41e667b3..ab6aa1b 100644
--- a/sys/modules/aic7xxx/ahc/Makefile
+++ b/sys/modules/aic7xxx/ahc/Makefile
@@ -13,7 +13,7 @@ BEFORE_DEPEND= aic7xxx_{seq,reg}.h
aic7xxx_{seq.h,reg.h,reg_print.c}: \
${.CURDIR}/../../../dev/aic7xxx/aic7xxx.{reg,seq} \
${.CURDIR}/../../../cam/scsi/scsi_message.h ../aicasm/aicasm
- ${.OBJDIR}/../aicasm/aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \
+ ../aicasm/aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \
-I${.CURDIR}/../../../dev/aic7xxx \
-o aic7xxx_seq.h -r aic7xxx_reg.h \
-p aic7xxx_reg_print.c \
diff --git a/sys/modules/aic7xxx/ahd/Makefile b/sys/modules/aic7xxx/ahd/Makefile
index 338abfd..7ee5e65 100644
--- a/sys/modules/aic7xxx/ahd/Makefile
+++ b/sys/modules/aic7xxx/ahd/Makefile
@@ -12,7 +12,7 @@ BEFORE_DEPEND= aic79xx_{seq,reg}.h
aic79xx_{seq.h,reg.h,reg_print.c}: \
${.CURDIR}/../../../dev/aic7xxx/aic79xx.{reg,seq} \
${.CURDIR}/../../../cam/scsi/scsi_message.h ../aicasm/aicasm
- ${.OBJDIR}/../aicasm/aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \
+ ../aicasm/aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \
-I${.CURDIR}/../../../dev/aic7xxx \
-o aic79xx_seq.h -r aic79xx_reg.h \
-p aic79xx_reg_print.c \
diff --git a/sys/modules/aic7xxx/aicasm/Makefile b/sys/modules/aic7xxx/aicasm/Makefile
index e961b8b..b1b2cf7 100644
--- a/sys/modules/aic7xxx/aicasm/Makefile
+++ b/sys/modules/aic7xxx/aicasm/Makefile
@@ -1,30 +1,9 @@
-
# $FreeBSD$
-all: aicasm
-
-aicasm: ${.CURDIR}/../../../dev/aic7xxx/aicasm/*.[chyl]
- ${MAKE} -f ${.CURDIR}/../../../dev/aic7xxx/aicasm/Makefile \
- MAKESRCPATH=${.CURDIR}/../../../dev/aic7xxx/aicasm
-
-depend:
- ${MAKE} -f ${.CURDIR}/../../../dev/aic7xxx/aicasm/Makefile \
- MAKESRCPATH=${.CURDIR}/../../../dev/aic7xxx/aicasm depend
-
-obj:
- ${MAKE} -f ${.CURDIR}/../../../dev/aic7xxx/aicasm/Makefile \
- MAKESRCPATH=${.CURDIR}/../../../dev/aic7xxx/aicasm obj
+MAKESRCPATH= ${.CURDIR}/../../../dev/aic7xxx/aicasm
-clean:
- ${MAKE} -f ${.CURDIR}/../../../dev/aic7xxx/aicasm/Makefile \
- MAKESRCPATH=${.CURDIR}/../../../dev/aic7xxx/aicasm clean
-
-cleandir:
- ${MAKE} -f ${.CURDIR}/../../../dev/aic7xxx/aicasm/Makefile \
- MAKESRCPATH=${.CURDIR}/../../../dev/aic7xxx/aicasm cleandir
+install:
-cleandepend:
- ${MAKE} -f ${.CURDIR}/../../../dev/aic7xxx/aicasm/Makefile \
- MAKESRCPATH=${.CURDIR}/../../../dev/aic7xxx/aicasm cleandepend
+.include "${.CURDIR}/../../../dev/aic7xxx/aicasm/Makefile"
-install:
+build-tools: ${PROG}
OpenPOWER on IntegriCloud