version 1.65, 2013/07/05 21:29:51 |
version 1.66, 2013/07/06 17:52:57 |
|
|
|
|
${CROSSDIRS}: |
${CROSSDIRS}: |
.if ${TARGET_ARCH} == "arm" && ${MACHINE_IS_LP64} == "yes" |
.if ${TARGET_ARCH} == "arm" && ${MACHINE_IS_LP64} == "yes" |
# this config is allowed |
# this config is allowed |
.elif ${TARGET_IS_LP64} != ${MACHINE_IS_LP64} |
.elif ${TARGET_IS_LP64} != ${MACHINE_IS_LP64} |
@echo "host and target have different size longs" |
@echo "host and target have different size longs" |
@echo "cross compiler generates bad code; aborting"; exit 1 |
@echo "cross compiler generates bad code; aborting"; exit 1 |
.endif |
.endif |
@-mkdir -p ${CROSSDIR} |
@-mkdir -p ${CROSSDIR} |
@echo ${TARGET_ARCH} > ${CROSSDIR}/TARGET_ARCH |
@echo ${TARGET_ARCH} > ${CROSSDIR}/TARGET_ARCH |