Move mkldscript.sh, which is used to create ldscript dynamically to
merge link_set_* sections into the text section for a.out kernels, from sys/arch/arm/conf/ to sys/conf/ since there is no ARM specific stuff in it and other ports would share it.
This commit is contained in:
parent
78ad5c2b07
commit
4f4391e397
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.cats.inc,v 1.17 2005/11/24 12:54:29 dbj Exp $
|
||||
# $NetBSD: Makefile.cats.inc,v 1.18 2007/03/04 02:35:49 tsutsui Exp $
|
||||
|
||||
MACHINE_ARCH= arm
|
||||
CPPFLAGS+= -D${MACHINE}
|
||||
@ -17,7 +17,7 @@ LINKFLAGS= -T ldscript
|
||||
|
||||
SYSTEM_LD_HEAD_EXTRA+=; \
|
||||
( cat ${ARM}/conf/kern.ldscript.head ; \
|
||||
OBJDUMP=${OBJDUMP} ${HOST_SH} ${ARM}/conf/mkldscript.sh \
|
||||
OBJDUMP=${OBJDUMP} ${HOST_SH} $S/conf/mkldscript.sh \
|
||||
${SYSTEM_OBJ} ; \
|
||||
cat ${ARM}/conf/kern.ldscript.tail ) > ldscript
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.shark.inc,v 1.6 2005/11/24 12:54:30 dbj Exp $
|
||||
# $NetBSD: Makefile.shark.inc,v 1.7 2007/03/04 02:35:50 tsutsui Exp $
|
||||
|
||||
MACHINE_ARCH= arm
|
||||
CPPFLAGS+= -D${MACHINE}
|
||||
@ -12,7 +12,7 @@ LINKFLAGS= -T ldscript
|
||||
|
||||
SYSTEM_LD_HEAD_EXTRA+=; \
|
||||
( cat ${ARM}/conf/kern.ldscript.head ; \
|
||||
OBJDUMP=${OBJDUMP} ${HOST_SH} ${ARM}/conf/mkldscript.sh \
|
||||
OBJDUMP=${OBJDUMP} ${HOST_SH} $S/conf/mkldscript.sh \
|
||||
${SYSTEM_OBJ} ; \
|
||||
cat ${ARM}/conf/kern.ldscript.tail ) > ldscript
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $NetBSD: mkldscript.sh,v 1.2 2005/12/11 12:16:45 christos Exp $
|
||||
# $NetBSD: mkldscript.sh,v 1.1 2007/03/04 02:35:49 tsutsui Exp $
|
||||
|
||||
TEMPLATE=$1
|
||||
shift
|
Loading…
Reference in New Issue
Block a user