Index: Makefile.alpha =================================================================== RCS file: /home/ncvs/src/sys/conf/Makefile.alpha,v retrieving revision 1.124 diff -u -r1.124 Makefile.alpha --- Makefile.alpha 13 Jul 2002 19:36:13 -0000 1.124 +++ Makefile.alpha 30 Jul 2002 03:25:19 -0000 @@ -90,6 +90,9 @@ @(echo "define(NAME,\`__reml')define(OP,\`rem')define(S,\`true')"; \ echo "define(WORDSIZE,32)"; cat ${.ALLSRC}) | m4 > ${.TARGET} +locore.o: $S/$M/$M/locore.s assym.s + ${NORMAL_S} + %RULES .include "$S/conf/kern.post.mk" Index: Makefile.i386 =================================================================== RCS file: /home/ncvs/src/sys/conf/Makefile.i386,v retrieving revision 1.256 diff -u -r1.256 Makefile.i386 --- Makefile.i386 13 Jul 2002 19:36:13 -0000 1.256 +++ Makefile.i386 30 Jul 2002 03:25:19 -0000 @@ -44,6 +44,9 @@ %CLEAN +locore.o: $S/$M/$M/locore.s assym.s + ${NORMAL_S} + %RULES .include "$S/conf/kern.post.mk" Index: Makefile.ia64 =================================================================== RCS file: /home/ncvs/src/sys/conf/Makefile.ia64,v retrieving revision 1.51 diff -u -r1.51 Makefile.ia64 --- Makefile.ia64 13 Jul 2002 19:36:13 -0000 1.51 +++ Makefile.ia64 30 Jul 2002 03:25:19 -0000 @@ -46,6 +46,9 @@ %CLEAN +locore.o: $S/$M/$M/locore.s assym.s + ${NORMAL_S} + %RULES .include "$S/conf/kern.post.mk" Index: Makefile.pc98 =================================================================== RCS file: /home/ncvs/src/sys/conf/Makefile.pc98,v retrieving revision 1.157 diff -u -r1.157 Makefile.pc98 --- Makefile.pc98 13 Jul 2002 19:36:13 -0000 1.157 +++ Makefile.pc98 30 Jul 2002 03:25:19 -0000 @@ -45,6 +45,9 @@ %CLEAN +locore.o: $S/$M/$M/locore.s assym.s + ${NORMAL_S} + %RULES .include "$S/conf/kern.post.mk" Index: Makefile.powerpc =================================================================== RCS file: /home/ncvs/src/sys/conf/Makefile.powerpc,v retrieving revision 1.262 diff -u -r1.262 Makefile.powerpc --- Makefile.powerpc 13 Jul 2002 19:36:13 -0000 1.262 +++ Makefile.powerpc 30 Jul 2002 03:25:19 -0000 @@ -54,6 +54,9 @@ %CLEAN +locore.o: $S/$M/$M/locore.s assym.s + ${NORMAL_S} + %RULES .include "$S/conf/kern.post.mk" Index: Makefile.sparc64 =================================================================== RCS file: /home/ncvs/src/sys/conf/Makefile.sparc64,v retrieving revision 1.20 diff -u -r1.20 Makefile.sparc64 --- Makefile.sparc64 13 Jul 2002 19:36:14 -0000 1.20 +++ Makefile.sparc64 30 Jul 2002 03:25:19 -0000 @@ -63,6 +63,9 @@ exception.o: $S/$M/$M/exception.s assym.s ${NORMAL_S} +locore.o: $S/$M/$M/locore.s assym.s + ${NORMAL_S} + %RULES .include "$S/conf/kern.post.mk" Index: Makefile.x86_64 =================================================================== RCS file: /home/ncvs/src/sys/conf/Makefile.x86_64,v retrieving revision 1.2 diff -u -r1.2 Makefile.x86_64 --- Makefile.x86_64 13 Jul 2002 19:36:14 -0000 1.2 +++ Makefile.x86_64 30 Jul 2002 03:25:19 -0000 @@ -45,6 +45,9 @@ %CLEAN +locore.o: $S/$M/$M/locore.s assym.s + ${NORMAL_S} + %RULES .include "$S/conf/kern.post.mk" Index: kern.post.mk =================================================================== RCS file: /home/ncvs/src/sys/conf/kern.post.mk,v retrieving revision 1.22 diff -u -r1.22 kern.post.mk --- kern.post.mk 18 Jul 2002 12:02:20 -0000 1.22 +++ kern.post.mk 30 Jul 2002 03:25:20 -0000 @@ -60,9 +60,6 @@ lint: ${CFILES} ${LINT} ${LINTKERNFLAGS} ${CFLAGS:M-[DILU]*} ${.ALLSRC} -locore.o: $S/$M/$M/locore.s assym.s - ${NORMAL_S} - # This is a hack. BFD "optimizes" away dynamic mode if there are no # dynamic references. We could probably do a '-Bforcedynamic' mode like # in the a.out ld. For now, this works.