Subject: kern/2441: aic7xxx_seq.h needs to be added to clean rule in Makefile.inc
To: None <gnats-bugs@NetBSD.ORG>
From: James Michael Chacon <jmc@hedgehog.com>
List: netbsd-bugs
Date: 05/19/1996 17:28:42
>Number:         2441
>Category:       kern
>Synopsis:       aic7xxx_seq.h needs to be added to clean rule in Makefile.inc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 19 21:05:07 1996
>Last-Modified:
>Originator:     James Chacon
>Organization:
>Release:        may-18-96
>Environment:
System: NetBSD quix 1.1B NetBSD 1.1B (QUIX) #28: Sun May 19 04:28:32 PDT 1996 root@quix:/export/data/src-current/NetBSD-current/src/sys/arch/i386/compile/QUIX i386


>Description:
        aic7xxx_seq.h gets generated on kernel builds that include the ahc
driver, but doesn't get removed on a make clean. The attached patch
fixes this.

>How-To-Repeat:
        add ahc to a kernel config file. config it, make it and then 
        make clean. aic7xxx_seq.h still exists.
>Fix:
*** /export/data/src-current/src/sys/dev/microcode/aic7xxx/Makefile.inc Thu May 16 11:16:46 1996
--- Makefile.inc        Sun May 19 04:39:31 1996
***************
*** 8,13 ****
  
  aic7xxx_asm: $S/dev/microcode/aic7xxx/aic7xxx_asm.c
  
  clean::
!       rm -f aic7xxx_asm
  .endif
--- 8,16 ----
  
  aic7xxx_asm: $S/dev/microcode/aic7xxx/aic7xxx_asm.c
  
  clean::
!       rm -f aic7xxx_asm aic7xxx_seq.h
  .endif

>Audit-Trail:
>Unformatted: