mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 16:50:25 -04:00
Taken from: https://github.com/freebsd/freebsd.git Commit id: d44ce30d3054a38723f89a161c5e003e64d1aaae
17 lines
589 B
Makefile
17 lines
589 B
Makefile
# $FreeBSD$
|
|
|
|
.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb"
|
|
NATIVE_EMULATION= armelfb_fbsd
|
|
.else
|
|
NATIVE_EMULATION= armelf_fbsd
|
|
.endif
|
|
|
|
SRCS+= e${NATIVE_EMULATION}.c
|
|
CLEANFILES+= e${NATIVE_EMULATION}.c
|
|
e${NATIVE_EMULATION}.c: ${.CURDIR}/${NATIVE_EMULATION}.sh emultempl/elf32.em \
|
|
scripttempl/elf.sc genscripts.sh stringify.sed
|
|
sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${LIBSEARCHPATH} \
|
|
${TOOLS_PREFIX}/usr \
|
|
${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
|
|
${NATIVE_EMULATION} "" no ${NATIVE_EMULATION} ${TARGET_TUPLE} \
|
|
${.CURDIR}/${NATIVE_EMULATION}.sh
|