tools/mkexport.sh: The export of gnu-elf.ld at least is required to build ELF loadable binaries. Option to link system into different memory locations (boot, application after boot-loader, RAM) without need to rebuild/reexport NuttX is useful as well.
This commit is contained in:
parent
00039b7c2e
commit
316aafc04d
@ -196,6 +196,13 @@ if [ "X${USRONLY}" != "Xy" ]; then
|
||||
|
||||
cp -p "${LDPATH}" "${EXPORTDIR}/build/." || \
|
||||
{ echo "MK: cp ${LDPATH} failed"; exit 1; }
|
||||
|
||||
# Copy addtional ld scripts
|
||||
|
||||
LDDIR="$(dirname "${LDPATH}")"
|
||||
for f in "${LDDIR}"/*.ld ; do
|
||||
[ -f "${f}" ] && cp -f "${f}" "${EXPORTDIR}/build/."
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user