In xdev-links, when installing symlinks to the cross-compiler pieces that

includes the OS version (armv6-freebsd12.0-cc, etc), use the OS version of
the compiler/world source code, not the version of the build host machine.
This commit is contained in:
Ian Lepore 2017-08-01 14:54:25 +00:00
parent 6630716fa8
commit dca576be69

View File

@ -2759,9 +2759,6 @@ CD2MAKE=${CD2ENV} PATH=${CDTMP}/usr/bin:${XDDESTDIR}/usr/bin:${PATH} ${MAKE} ${N
CD2MAKE+= BUILD_TOOLS_META=.NOMETA CD2MAKE+= BUILD_TOOLS_META=.NOMETA
.endif .endif
XDDESTDIR=${DESTDIR}/${XDTP} XDDESTDIR=${DESTDIR}/${XDTP}
.if !defined(OSREL)
OSREL!= uname -r | sed -e 's/[-(].*//'
.endif
.ORDER: xdev-build xdev-install xdev-links .ORDER: xdev-build xdev-install xdev-links
xdev: xdev-build xdev-install .PHONY xdev: xdev-build xdev-install .PHONY
@ -2855,7 +2852,7 @@ xdev-links: .PHONY
ln -sf ../../${XDTP}/usr/bin/$$i \ ln -sf ../../${XDTP}/usr/bin/$$i \
../../../../usr/bin/${XDDIR}-$$i; \ ../../../../usr/bin/${XDDIR}-$$i; \
ln -sf ../../${XDTP}/usr/bin/$$i \ ln -sf ../../${XDTP}/usr/bin/$$i \
../../../../usr/bin/${XDDIR}${OSREL}-$$i; \ ../../../../usr/bin/${XDDIR}${_REVISION}-$$i; \
done done
.else .else
xdev xdev-build xdev-install xdev-links: .PHONY xdev xdev-build xdev-install xdev-links: .PHONY