Missing dependency on ldscript files.

This commit is contained in:
uebayasi 2014-11-13 15:03:06 +00:00
parent 5065266d77
commit 4c0e1c7bb3
3 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.cats.inc,v 1.27 2013/08/17 19:57:09 skrll Exp $
# $NetBSD: Makefile.cats.inc,v 1.28 2014/11/13 15:03:06 uebayasi Exp $
MACHINE_ARCH?= arm
CPPFLAGS+= -D${MACHINE}
@ -20,6 +20,9 @@ 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 \
$S/conf/mkldscript.sh \
${ARM}/conf/kern.ldscript.tail
SYSTEM_LD_TAIL_EXTRA+=; \
echo "${OBJCOPY} ${OBJCOPY_ELF2AOUT_FLAGS} $@ $@.aout"; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.luna68k,v 1.24 2013/03/10 07:18:20 christos Exp $
# $NetBSD: Makefile.luna68k,v 1.25 2014/11/13 15:03:06 uebayasi Exp $
# Makefile for NetBSD
#
@ -69,6 +69,9 @@ SYSTEM_LD_HEAD_EXTRA+=; \
OBJDUMP=${OBJDUMP} ${HOST_SH} $S/conf/mkldscript.sh \
${SYSTEM_OBJ} ; \
cat ${LUNA68K}/conf/kern.ldscript.tail ) > ldscript
SYSTEM_DEP+= ${LUNA68K}/conf/kern.ldscript.head \
$S/conf/mkldscript.sh \
${LUNA68K}/conf/kern.ldscript.tail
SYSTEM_LD_TAIL_EXTRA+=; \
echo "${ELF2AOUT} $@ $@.aout" ; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.shark.inc,v 1.19 2013/08/22 20:03:15 martin Exp $
# $NetBSD: Makefile.shark.inc,v 1.20 2014/11/13 15:03:07 uebayasi Exp $
CPPFLAGS+= -D${MACHINE}
COPTS+= -fno-unwind-tables
@ -14,6 +14,9 @@ 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 \
$S/conf/mkldscript.sh \
${ARM}/conf/kern.ldscript.tail
SYSTEM_LD_TAIL_EXTRA+=; \
echo "${OBJCOPY} ${OBJCOPY_ELF2AOUT_FLAGS} $@ $@.aout"; \