Changeset View
Changeset View
Standalone View
Standalone View
devel/binutils/Makefile
Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | .if !defined(PKGNAMEPREFIX) | ||||
@${FIND} -ds ${STAGEDIR}${PREFIX}/${CONFIGURE_TARGET} ! -type d | \ | @${FIND} -ds ${STAGEDIR}${PREFIX}/${CONFIGURE_TARGET} ! -type d | \ | ||||
${SED} -e 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} | ${SED} -e 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} | ||||
${RM} ${STAGEDIR}${PREFIX}/include/ansidecl.h | ${RM} ${STAGEDIR}${PREFIX}/include/ansidecl.h | ||||
${REINPLACE_CMD} '/#include "ansidecl.h"/d' ${STAGEDIR}${PREFIX}/include/bfd.h | ${REINPLACE_CMD} '/#include "ansidecl.h"/d' ${STAGEDIR}${PREFIX}/include/bfd.h | ||||
.else | .else | ||||
.if ${PKGNAMEPREFIX:S/-$//} != ${BUTARGET} | .if ${PKGNAMEPREFIX:S/-$//} != ${BUTARGET} | ||||
${RM} -r ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//} | ${RM} -r ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//} | ||||
.endif | .endif | ||||
${RM} ${STAGEDIR}${PREFIX}/${BUTARGET}/lib/ldscripts/i386bsd.* | |||||
lwhsu: This removes i386bsd linker scripts everywhere, not just "i386-binutils or a base/binutils that… | |||||
Not Done Inline Actionsdevel/binutils doesn't define PGKNAMEPREFIX and this clause is in the .else after that test, so this doesn't impact devel/binutils. The only other binutils ports which specify i386 as a target are base/binutils (with out of tree patches) and devel/i386-binutils. (The post-install target is fairly messy IMO due to all the conditionals for various slave ports) jhb: devel/binutils doesn't define PGKNAMEPREFIX and this clause is in the .else after that test, so… | |||||
Not Done Inline ActionsOh right, I was thinking it will affect other <arch>-binutils also have PGKNAMEPREFIX defined but forgot that they will not install i386bsd linker scripts. Sorry for the noise. lwhsu: Oh right, I was thinking it will affect other <arch>-binutils also have `PGKNAMEPREFIX` defined… | |||||
Not Done Inline ActionsNo problem. jhb: No problem. | |||||
@if [ -d ${STAGEDIR}${PREFIX}/${INFO_PATH} ] ; then rm -rf ${STAGEDIR}${PREFIX}/${INFO_PATH}; fi | @if [ -d ${STAGEDIR}${PREFIX}/${INFO_PATH} ] ; then rm -rf ${STAGEDIR}${PREFIX}/${INFO_PATH}; fi | ||||
${LN} -fs ../../bin/${BUTARGET}-size ${STAGEDIR}${PREFIX}/${BUTARGET}/bin/size | ${LN} -fs ../../bin/${BUTARGET}-size ${STAGEDIR}${PREFIX}/${BUTARGET}/bin/size | ||||
.if defined(CROSS_TOOLCHAIN) | .if defined(CROSS_TOOLCHAIN) | ||||
${MV} ${STAGEDIR}/usr/bin/as ${STAGEDIR}/usr/bin/${BUTARGET}-as | ${MV} ${STAGEDIR}/usr/bin/as ${STAGEDIR}/usr/bin/${BUTARGET}-as | ||||
${LN} -fs /usr/bin/${BUTARGET}-as ${STAGEDIR}/usr/bin/as | ${LN} -fs /usr/bin/${BUTARGET}-as ${STAGEDIR}/usr/bin/as | ||||
${MV} ${STAGEDIR}/usr/bin/ld ${STAGEDIR}/usr/bin/${BUTARGET}-ld | ${MV} ${STAGEDIR}/usr/bin/ld ${STAGEDIR}/usr/bin/${BUTARGET}-ld | ||||
${LN} -fs /usr/bin/${BUTARGET}-ld ${STAGEDIR}/usr/bin/ld | ${LN} -fs /usr/bin/${BUTARGET}-ld ${STAGEDIR}/usr/bin/ld | ||||
${MV} ${STAGEDIR}/usr/bin/ld.bfd ${STAGEDIR}/usr/bin/${BUTARGET}-ld.bfd | ${MV} ${STAGEDIR}/usr/bin/ld.bfd ${STAGEDIR}/usr/bin/${BUTARGET}-ld.bfd | ||||
Show All 29 Lines |
This removes i386bsd linker scripts everywhere, not just "i386-binutils or a base/binutils that targets i386."
Is it intended?