Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Crosstool/Buildroot integration issue
@ 2010-07-07 14:19 Andy Gibbs
  2010-07-07 15:22 ` Thomas Petazzoni
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andy Gibbs @ 2010-07-07 14:19 UTC (permalink / raw)
  To: buildroot

Hi Yann, Thomas

I know you've been working on improving the integration of crosstool and buildroot recently.  Thank you - I really appreciate it, but I'd like to point out an extra detail that may have been missed so far, and looking at toolchain/external-toolchain/ext-tool.mk in the git trunk, I think this still is missing.

Crosstool generates character set libraries in the 'sys-root/usr/lib/gconv' folder, but these are not being copied across into the target folder when 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:
 
  mkdir -p $(TARGET_DIR)/lib
+ mkdir -p $(TARGET_DIR)/usr/lib
  @echo "Copy external toolchain libraries to target..."
  $(Q)for libs in $(LIB_EXTERNAL_LIBS); do \
  $(call copy_toolchain_lib_root,$(ARCH_SYSROOT_DIR),$$libs,/lib,$(BR2_TOOLCHAIN_EXTERNAL_STRIP)); \
  done
  $(Q)for libs in $(USR_LIB_EXTERNAL_LIBS); do \
  $(call copy_toolchain_lib_root,$(ARCH_SYSROOT_DIR),$$libs,/usr/lib,$(BR2_TOOLCHAIN_EXTERNAL_STRIP)); \
+ $(Q)cp -dr $(ARCH_SYSROOT_DIR)/usr/lib/gconv $(TARGET_DIR)/usr/lib
  done
  @echo "Copy external toolchain sysroot to staging..."
  $(Q)$(call copy_toolchain_sysroot,$(SYSROOT_DIR),$(ARCH_SYSROOT_DIR),$(ARCH_SUBDIR))

I'm afraid I've not attached it as a proper patch since I'm not at my desk currently and can't form an "official" git patch.  However, if you wish me to, then let me know and I will be happy to do so.

Thanks
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100707/2ae46a5f/attachment.html>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-07-09 10:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-07 14:19 [Buildroot] Crosstool/Buildroot integration issue Andy Gibbs
2010-07-07 15:22 ` Thomas Petazzoni
2010-07-07 17:19 ` Yann E. MORIN
2010-07-08  7:34   ` Thomas Petazzoni
2010-07-08 14:07     ` Andy Gibbs
     [not found] ` <201007071919.28956.yann.morin.1998__5616.15332630954$1278523238$gmane$org@anciens.enib.fr>
2010-07-08  6:23   ` Andy Gibbs
2010-07-09 10:00   ` Andy Gibbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox