mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Append to SYSTEM_OBJS and CLEAN before including kern.post.mk.
Any modifications to SYSTEM_OBJS after including kern.post.mk will not make it to SYSTEM_DEP and consequently any dependency rules. This caused __{div|rem}* to not be built...
This commit is contained in:
parent
ac8e56a7f9
commit
7b9cc19934
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86251
@ -45,13 +45,13 @@ SYSTEM_LD= @${LD} ${FMT} -Bdynamic -T $S/conf/ldscript.$M \
|
||||
|
||||
%CLEAN
|
||||
|
||||
.include "$S/conf/kern.post.mk"
|
||||
|
||||
SYSTEM_OBJS+= __divqu.o __divq.o __divlu.o __divl.o
|
||||
SYSTEM_OBJS+= __remqu.o __remq.o __remlu.o __reml.o
|
||||
CLEAN+= __divqu.S __divq.S __divlu.S __divl.S
|
||||
CLEAN+= __remqu.S __remq.S __remlu.S __reml.S
|
||||
|
||||
.include "$S/conf/kern.post.mk"
|
||||
|
||||
__divqu.S: $S/$M/$M/divrem.m4
|
||||
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
||||
@(echo "define(NAME,\`__divqu')define(OP,\`div')define(S,\`false')"; \
|
||||
|
Loading…
Reference in New Issue
Block a user