Home | History | Annotate | Line # | Download | only in conf
Makefile.evbarm.inc revision 1.3.4.7
      1  1.3.4.7  thorpej #	$NetBSD: Makefile.evbarm.inc,v 1.3.4.7 2003/01/03 16:43:13 thorpej Exp $
      2  1.3.4.4  nathanw 
      3  1.3.4.4  nathanw SYSTEM_LD_TAIL_EXTRA=; \
      4  1.3.4.4  nathanw 	echo "${DBSYM} $@ || true"; \
      5  1.3.4.4  nathanw 	${DBSYM} $@ || true
      6  1.3.4.2  nathanw 
      7  1.3.4.7  thorpej .if defined(BOARDMKFRAG)	# Must be a full pathname.
      8  1.3.4.7  thorpej .include "${BOARDMKFRAG}"
      9  1.3.4.6  thorpej .endif
     10  1.3.4.6  thorpej 
     11  1.3.4.7  thorpej .if defined(KERNEL_BASE_PHYS)
     12  1.3.4.6  thorpej 
     13  1.3.4.6  thorpej LINKFLAGS=	-T ldscript
     14  1.3.4.6  thorpej 
     15  1.3.4.6  thorpej netbsd: ldscript             # XXX
     16  1.3.4.6  thorpej EXTRA_CLEAN+= ldscript tmp
     17  1.3.4.6  thorpej 
     18  1.3.4.6  thorpej # generate ldscript from common template
     19  1.3.4.6  thorpej ldscript: ${THISARM}/conf/ldscript.evbarm ${THISARM}/conf/Makefile.evbarm.inc
     20  1.3.4.6  thorpej 	echo ${KERNELS}
     21  1.3.4.6  thorpej 	sed -e 's/@KERNEL_BASE_PHYS@/${KERNEL_BASE_PHYS}/' \
     22  1.3.4.6  thorpej 	    -e 's/@KERNEL_BASE_VIRT@/${KERNEL_BASE_VIRT}/' \
     23  1.3.4.6  thorpej 	    ${THISARM}/conf/ldscript.evbarm > tmp && mv tmp $@
     24  1.3.4.7  thorpej 
     25  1.3.4.7  thorpej .endif	# KERNEL_BASE_PHYS
     26