Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!sri-spam!mordor!lll-tis!elxsi!marduk!gww From: gww@marduk.UUCP (Gary Winiger) Newsgroups: comp.bugs.4bsd Subject: machine/symbols.sort is not rebuilt when symbols.raw changes. +Fix Message-ID: <530@elxsi.UUCP> Date: Fri, 4-Sep-87 19:24:05 EDT Article-I.D.: elxsi.530 Posted: Fri Sep 4 19:24:05 1987 Date-Received: Sat, 5-Sep-87 21:37:10 EDT Sender: nobody@elxsi.UUCP Reply-To: gww@marduk.UUCP (Gary Winiger) Organization: ELXSI Super Computers, San Jose Lines: 64 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) {