Changeset View
Changeset View
Standalone View
Standalone View
head/base/binutils/Makefile
Show All 12 Lines | |||||
.if !defined(CROSS_TOOLCHAIN) | .if !defined(CROSS_TOOLCHAIN) | ||||
.error Please define CROSS_TOOLCHAIN before building | .error Please define CROSS_TOOLCHAIN before building | ||||
.endif | .endif | ||||
.if !defined(CROSS_SYSROOT) | .if !defined(CROSS_SYSROOT) | ||||
.error Please define CROSS_SYSROOT before building | .error Please define CROSS_SYSROOT before building | ||||
.endif | .endif | ||||
BUTARGET= ${ARCH}-unknown-${OPSYS:tl}${OSREL} | TARGETARCH= ${ARCH:S/amd64/x86_64/} | ||||
BUTARGET= ${TARGETARCH}-unknown-${OPSYS:tl}${OSREL} | |||||
CONFIGURE_ARGS+= --disable-host-shared | CONFIGURE_ARGS+= --disable-host-shared | ||||
PREFIX= /usr | PREFIX= /usr | ||||
.include "${MASTERDIR}/Makefile" | .include "${MASTERDIR}/Makefile" | ||||
.if ${OSVERSION} >= 1100100 | .if ${OSVERSION} >= 1100100 | ||||
PLIST_SUB+= OBJCOPY="@comment " | PLIST_SUB+= OBJCOPY="@comment " | ||||
.else | .else | ||||
PLIST_SUB+= OBJCOPY="" | PLIST_SUB+= OBJCOPY="" | ||||
.endif | .endif | ||||
.if ${ARCH} == "amd64" || ${ARCH} == "i386" | |||||
PLIST_SUB+= I386="" | |||||
.else | |||||
PLIST_SUB+= I386="@comment " | |||||
.endif | |||||
.if ${ARCH} == "amd64" | |||||
PLIST_SUB+= AMD64="" | |||||
.else | |||||
PLIST_SUB+= AMD64="@comment " | |||||
.endif | |||||
.if ${ARCH:Mmips*} | .if ${ARCH:Mmips*} | ||||
PLIST_SUB+= MIPS="" | PLIST_SUB+= MIPS="" | ||||
.else | .else | ||||
PLIST_SUB+= MIPS="@comment " | PLIST_SUB+= MIPS="@comment " | ||||
.endif | .endif | ||||
.if ${ARCH:Mpowerpc*} | .if ${ARCH:Mpowerpc*} | ||||
PLIST_SUB+= POWERPC="" | PLIST_SUB+= POWERPC="" | ||||
.else | .else | ||||
PLIST_SUB+= POWERPC="@comment " | PLIST_SUB+= POWERPC="@comment " | ||||
.endif | .endif | ||||
.if ${ARCH:Msparc*} | .if ${ARCH:Msparc*} | ||||
PLIST_SUB+= SPARC="" | PLIST_SUB+= SPARC="" | ||||
.else | .else | ||||
PLIST_SUB+= SPARC="@comment " | PLIST_SUB+= SPARC="@comment " | ||||
.endif | .endif |