mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
we can also use the upstream binutils linker where we have to have a unique name for the FreeBSD emulation.
12 lines
460 B
Text
12 lines
460 B
Text
# $FreeBSD$
|
|
|
|
NATIVE_EMULATION= elf32ppc_fbsd
|
|
|
|
SRCS+= e${NATIVE_EMULATION}.c
|
|
CLEANFILES+= e${NATIVE_EMULATION}.c
|
|
e${NATIVE_EMULATION}.c: emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em \
|
|
scripttempl/elf.sc genscripts.sh stringify.sed ldemul-list.h
|
|
sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${LIBSEARCHPATH} \
|
|
${TOOLS_PREFIX}/usr \
|
|
${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
|
|
${NATIVE_EMULATION} "" no ${NATIVE_EMULATION} ${TARGET_TUPLE}
|