Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / evbarm / conf / Makefile.evbarm.inc
blob460f61cf13d3a96a4a6680317f3928381ceffbde
1 #       $NetBSD: Makefile.evbarm.inc,v 1.18 2008/04/27 18:58:46 matt Exp $
3 .if defined(BOARDMKFRAG)        # Must be a full pathname.
4 .include "${BOARDMKFRAG}"
5 .endif
7 .if defined(KERNEL_BASE_PHYS)
9 LINKFLAGS=      -T ldscript
11 netbsd: ldscript             # XXX
12 EXTRA_CLEAN+= ldscript tmp
14 # generate ldscript from common template 
15 ldscript: ${THISARM}/conf/ldscript.evbarm ${THISARM}/conf/Makefile.evbarm.inc Makefile ${BOARDMKFRAG}
16         echo ${KERNELS}
17         ${TOOL_SED} -e 's/@KERNEL_BASE_PHYS@/${KERNEL_BASE_PHYS}/' \
18             -e 's/@KERNEL_BASE_VIRT@/${KERNEL_BASE_VIRT}/' \
19             ${THISARM}/conf/ldscript.evbarm > tmp && mv tmp $@
21 .endif  # KERNEL_BASE_PHYS