mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
Moved the rule for locore.o from kern.post.mk to Makefile.$ARCH.
This commit is contained in:
parent
cc0178a73e
commit
ba37958b34
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101064
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user