gww@marduk.UUCP (Gary Winiger) (09/05/87)
Subject: machine/symbols.sort is not rebuilt when symbols.raw changes. +Fix Index: etc/config/mkmakefile.c 4.3BSD +Fix Description: If machine/symbols.raw is updated, the new kernel will not have the added symbols symordered. Repeat-By: Modify machine/symbols.raw. Make a kernel. Observe that machine/symbols.sort isn't remade. Fix: Add ../machine/symbols.sort to the dependency list for the kernel. The attached code solves this problem at Elxsi. Gary.. {ucbvax!sun,lll-lcc!lll-tis,amdahl!altos86,bridge2}!elxsi!gww --------- cut --------- snip --------- :.,$w diff ------------- *** /tmp/,RCSt1000685 Mon Aug 24 18:19:56 1987 --- mkmakefile.c Mon Aug 24 18:19:27 1987 *************** *** 1,5 **** --- 1,8 ---- /* * $Log: mkmakefile.c,v $ + * Revision 1.4 87/08/24 18:18:54 gww + * Add symbols.sort to the dependences list for unix. + * * Revision 1.3 87/04/24 15:29:18 gww * Remove init dependency from systems. * *************** *** 17,23 **** */ #ifndef lint ! static char *ERcsId = "$Header: mkmakefile.c,v 1.3 87/04/24 15:29:18 gww Exp $ ENIX BSD"; static char sccsid[] = "@(#)mkmakefile.c 5.9 (Berkeley) 5/6/86"; #endif not lint --- 20,26 ---- */ #ifndef lint ! static char *ERcsId = "$Header: mkmakefile.c,v 1.4 87/08/24 18:18:54 gww Exp $ ENIX BSD"; static char sccsid[] = "@(#)mkmakefile.c 5.9 (Berkeley) 5/6/86"; #endif not lint *************** *** 571,577 **** int first; { ! fprintf(f, "%s: Makefile ${OBJS} param.o\n", fl->f_needs); fprintf(f, "\t@echo loading %s\n\t@rm -f %s\n", fl->f_needs, fl->f_needs); if (first) { --- 574,581 ---- int first; { ! fprintf(f, "%s: Makefile ${OBJS} param.o ../%s/symbols.sort\n", ! fl->f_needs, machinename); fprintf(f, "\t@echo loading %s\n\t@rm -f %s\n", fl->f_needs, fl->f_needs); if (first) {