e5b2fdbc78
'Please use ${ECHO_N} instead of "echo -n".'
10 lines
451 B
Makefile
10 lines
451 B
Makefile
# Create compiler driver scripts in ${WRKDIR}.
|
|
(${TEST} -d ${WRKDIR}/.gcc/bin || ${MKDIR} ${WRKDIR}/.gcc/bin)
|
|
(cd ${BUILDLINK_PREFIX.gcc34}/bin && bin_files=`${LS} *` && \
|
|
cd ${WRKDIR}/.gcc/bin && \
|
|
for _target_ in $${bin_files} ; do \
|
|
${ECHO} '#!${TOOLS_SHELL}' > $${_target_} && \
|
|
${ECHO_N} "exec ${BUILDLINK_PREFIX.gcc34}/bin/$${_target_}" >> $${_target_} && \
|
|
${ECHO} ' "$$@"' >> $${_target_} && \
|
|
${CHMOD} +x $${_target_}; \
|
|
done )
|