From 974996d4b915760f1e3b6ec4ed8ed8e96628b940 Mon Sep 17 00:00:00 2001 From: scottl Date: Sun, 3 Nov 2002 23:48:14 +0000 Subject: 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 --- sys/modules/aic7xxx/ahc/Makefile | 2 +- sys/modules/aic7xxx/ahd/Makefile | 2 +- sys/modules/aic7xxx/aicasm/Makefile | 29 ++++------------------------- 3 files changed, 6 insertions(+), 27 deletions(-) (limited to 'sys/modules/aic7xxx') 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} -- cgit v1.1