Set dependency via KERNLDSCRIPT. Don't touch SYSTEM_DEP from outside.

This commit is contained in:
uebayasi 2014-11-16 12:02:55 +00:00
parent 58384ac8c7
commit 31da12f323
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.cats.inc,v 1.29 2014/11/15 14:02:19 uebayasi Exp $
# $NetBSD: Makefile.cats.inc,v 1.30 2014/11/16 12:02:55 uebayasi Exp $
MACHINE_ARCH?= arm
CPPFLAGS+= -D${MACHINE}
@ -20,7 +20,7 @@ SYSTEM_LD_HEAD_EXTRA+=; \
OBJDUMP=${OBJDUMP} ${HOST_SH} $S/conf/mkldscript.sh \
${SYSTEM_OBJ} ; \
cat ${ARM}/conf/kern.ldscript.tail ) > ldscript
SYSTEM_DEP+= ${ARM}/conf/kern.ldscript.head \
KERNLDSCRIPT= ${ARM}/conf/kern.ldscript.head \
$S/conf/mkldscript.sh \
${ARM}/conf/kern.ldscript.tail

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.shark.inc,v 1.21 2014/11/15 13:41:16 uebayasi Exp $
# $NetBSD: Makefile.shark.inc,v 1.22 2014/11/16 12:02:55 uebayasi Exp $
CPPFLAGS+= -D${MACHINE}
COPTS+= -fno-unwind-tables
@ -14,7 +14,7 @@ SYSTEM_LD_HEAD_EXTRA+=; \
OBJDUMP=${OBJDUMP} ${HOST_SH} $S/conf/mkldscript.sh \
${SYSTEM_OBJ} ; \
cat ${ARM}/conf/kern.ldscript.tail ) > ldscript
SYSTEM_DEP+= ${ARM}/conf/kern.ldscript.head \
KERNLDSCRIPT= ${ARM}/conf/kern.ldscript.head \
$S/conf/mkldscript.sh \
${ARM}/conf/kern.ldscript.tail