Home | History | Annotate | Line # | Download | only in conf
Makefile.evbarm.inc revision 1.17.78.1
      1  1.17.78.1      yamt #	$NetBSD: Makefile.evbarm.inc,v 1.17.78.1 2008/05/16 02:22:10 yamt Exp $
      2        1.1  rearnsha 
      3       1.16   thorpej .if defined(BOARDMKFRAG)	# Must be a full pathname.
      4       1.16   thorpej .include "${BOARDMKFRAG}"
      5       1.15   thorpej .endif
      6       1.15   thorpej 
      7       1.15   thorpej .if defined(KERNEL_BASE_PHYS)
      8       1.15   thorpej 
      9       1.15   thorpej LINKFLAGS=	-T ldscript
     10       1.14       bsh 
     11       1.14       bsh netbsd: ldscript             # XXX
     12       1.14       bsh EXTRA_CLEAN+= ldscript tmp
     13       1.14       bsh 
     14       1.14       bsh # generate ldscript from common template
     15  1.17.78.1      yamt ldscript: ${THISARM}/conf/ldscript.evbarm ${THISARM}/conf/Makefile.evbarm.inc Makefile ${BOARDMKFRAG}
     16       1.14       bsh 	echo ${KERNELS}
     17       1.14       bsh 	sed -e 's/@KERNEL_BASE_PHYS@/${KERNEL_BASE_PHYS}/' \
     18       1.14       bsh 	    -e 's/@KERNEL_BASE_VIRT@/${KERNEL_BASE_VIRT}/' \
     19       1.14       bsh 	    ${THISARM}/conf/ldscript.evbarm > tmp && mv tmp $@
     20       1.15   thorpej 
     21       1.15   thorpej .endif	# KERNEL_BASE_PHYS
     22