summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/Makefile.alpha3
-rw-r--r--sys/conf/Makefile.amd643
-rw-r--r--sys/conf/Makefile.i3863
-rw-r--r--sys/conf/Makefile.ia643
-rw-r--r--sys/conf/Makefile.pc983
-rw-r--r--sys/conf/Makefile.powerpc3
-rw-r--r--sys/conf/Makefile.sparc643
-rw-r--r--sys/conf/kern.post.mk3
8 files changed, 21 insertions, 3 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha
index df48d84..1929b4d 100644
--- a/sys/conf/Makefile.alpha
+++ b/sys/conf/Makefile.alpha
@@ -90,6 +90,9 @@ __reml.S: $S/$M/$M/divrem.m4
@(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"
diff --git a/sys/conf/Makefile.amd64 b/sys/conf/Makefile.amd64
index 77bbc37..59b57ef 100644
--- a/sys/conf/Makefile.amd64
+++ b/sys/conf/Makefile.amd64
@@ -45,6 +45,9 @@ MKMODULESENV+= MACHINE=x86_64
%CLEAN
+locore.o: $S/$M/$M/locore.s assym.s
+ ${NORMAL_S}
+
%RULES
.include "$S/conf/kern.post.mk"
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index 62e871c..c6ff5db 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -44,6 +44,9 @@ MKMODULESENV+= MACHINE=i386
%CLEAN
+locore.o: $S/$M/$M/locore.s assym.s
+ ${NORMAL_S}
+
%RULES
.include "$S/conf/kern.post.mk"
diff --git a/sys/conf/Makefile.ia64 b/sys/conf/Makefile.ia64
index a127e65..3c092ac 100644
--- a/sys/conf/Makefile.ia64
+++ b/sys/conf/Makefile.ia64
@@ -46,6 +46,9 @@ ASM_CFLAGS= -x assembler-with-cpp -Wa,-x -DLOCORE ${CFLAGS}
%CLEAN
+locore.o: $S/$M/$M/locore.s assym.s
+ ${NORMAL_S}
+
%RULES
.include "$S/conf/kern.post.mk"
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98
index 0e5d57a..440d85b 100644
--- a/sys/conf/Makefile.pc98
+++ b/sys/conf/Makefile.pc98
@@ -45,6 +45,9 @@ MKMODULESENV+= MACHINE=pc98
%CLEAN
+locore.o: $S/$M/$M/locore.s assym.s
+ ${NORMAL_S}
+
%RULES
.include "$S/conf/kern.post.mk"
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index 1a253e0..ec3b588 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -54,6 +54,9 @@ COPTS+= -msoft-float
%CLEAN
+locore.o: $S/$M/$M/locore.s assym.s
+ ${NORMAL_S}
+
%RULES
.include "$S/conf/kern.post.mk"
diff --git a/sys/conf/Makefile.sparc64 b/sys/conf/Makefile.sparc64
index 2980fd7..0411fd3 100644
--- a/sys/conf/Makefile.sparc64
+++ b/sys/conf/Makefile.sparc64
@@ -63,6 +63,9 @@ SYSTEM_OBJS= locore.o exception.o vnode_if.o ${OBJS} hints.o env.o config.o hack
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"
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk
index ac331d3..40b17aa 100644
--- a/sys/conf/kern.post.mk
+++ b/sys/conf/kern.post.mk
@@ -60,9 +60,6 @@ kernel-clobber:
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.
OpenPOWER on IntegriCloud