Subject: missing dependecies in kernel Makefile
To: None <port-mac68k@NetBSD.ORG, port-sparc@NetBSD.ORG>
From: Taras Ivanenko <ivanenko@taras.mit.edu>
List: port-mac68k
Date: 05/10/1996 10:23:45
I have noticed that the dependence

syscalls.o : Makefile 

is missing in the kernel Makefile. I checked the distribution for
two architectures I am using (sparc & mac68k)

diff -c sparc/conf/Makefile.sparc mac68k/conf/Makefile.mac68k
***************
*** 165,176 ****
  genassym.o machdep.o: Makefile
  
  # depend on CPU configuration 
! bwtwo.o cgsix.o cgthree.o cgtwo.o cons.o dma.o esp.o fb.o if_ie.o: Makefile
! ms.c obio.o zs.c autoconf.o clock.o cpu.o disksubr.o locore.o: Makefile
! machdep.o mem.o openprom.o pmap.o vm_machdep.o: Makefile
  
  
! locore.o: ${SPARC}/sparc/locore.s assym.h
        ${NORMAL_S}
  
  %RULES
--- 168,177 ----
  genassym.o machdep.o: Makefile
  
  # depend on CPU configuration 
! locore.o pmap.o trap.o: Makefile
  
  
! locore.o: ${MAC68K}/mac68k/locore.s assym.h
        ${NORMAL_S}
  
  %RULES

That dependence is not there either. I do not know what other
dependencies I need on my Mac so that I can reconfigure the system
without recompiling everything. Are other device driver also
configuration-dependent, like on the sparc? (Similar questions for
sparc, but the kernel compiles much faster there so it is less of a
burden to build it from the scratch).

	Taras Ivanenko