This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Crosstool generates character set libraries in the 'sys-root/usr/lib/gconv'
There's no sysrot/usr/lib/gconv in my uClibc-based toolchain! :-P
folder, but these are not being copied across into the target folder when[--SNIp--]
all the other libraries are copied. These means that certain applications
that rely on these libraries don't function correctly. It's a simple two
line patch to the bottom of ext-tool.mk:+ $(Q)cp -dr $(ARCH_SYSROOT_DIR)/usr/lib/gconv $(TARGET_DIR)/usr/lib
Well, I'd rather we had something like: - in menuconfig: () Additional dirs to copy from sysroot Help: This is a space-separated list of paths that you want to copy from the sysroot to the target. Make the paths relative to the sysroot. Example: /usr/lib/gconv /usr/include
- and in ext-tool.mk (to replace your changes, above):
$(Q)for d in $(BR_EXT_TOOL_DIRS_EXTRA); do \
if [ -d "$(ARCH_SYSROOT_DIR)$${d}" ]; then
mkdir -p "$(TARGET_DIR)$${d}"
cp -a "$${d}/." "$(TARGET_DIR)${d}/."
else
echo "No such directory '$${d}' whiel trying to copy from sysroot"
fi
done
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |