1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

Fix the build and minor cleanup.

This commit is contained in:
Warner Losh 2006-09-14 07:44:05 +00:00
parent f6b979e59e
commit a8e874edc2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162300

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.if ${TARGET_ARCH} == "arm" && defined(TARGET_BIG_ENDIAN)
.if defined(TARGET_BIG_ENDIAN)
NATIVE_EMULATION= armelfb_fbsd
.else
NATIVE_EMULATION= armelf_fbsd
@ -8,9 +8,10 @@ NATIVE_EMULATION= armelf_fbsd
SRCS+= e${NATIVE_EMULATION}.c
CLEANFILES+= e${NATIVE_EMULATION}.c
e${NATIVE_EMULATION}.c: emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em \
e${NATIVE_EMULATION}.c: ${.CURDIR}/${NATIVE_EMULATION}.sh emultempl/elf32.em \
scripttempl/elf.sc genscripts.sh stringify.sed
sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${LIBSERACHPATH} \
${TOOLS_PREFIX}/usr \
${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
${NATIVE_EMULATION} "" no ${NATIVE_EMULATION} ${TARGET_TUPLE}
${NATIVE_EMULATION} "" no ${NATIVE_EMULATION} ${TARGET_TUPLE} \
${.CURDIR}/${NATIVE_EMULATION}.sh