Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] glibc and locale
@ 2015-02-08 23:44 Steve Kenton
  2015-02-09  7:09 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Kenton @ 2015-02-08 23:44 UTC (permalink / raw)
  To: buildroot

I have a script that wants the locale program. I notice that is is already built
as part of the glibc build process, but it is not installed. Would there be
any objections to something along these lines to go ahead and install locale?
I'm not sure if this is the best way since glibc build uses autotools.

Steve

--- glibc.mk.ori	2015-02-08 17:38:16.824281939 -0600
+++ glibc.mk	2015-02-08 17:40:27.932284454 -0600
@@ -115,6 +115,7 @@ GLIBC_LIBS_LIB += libthread_db.so.*
 endif

 define GLIBC_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 0755 -D $(@D)/build/locale/locale $(TARGET_DIR)/usr/bin/locale
 	for libs in $(GLIBC_LIBS_LIB); do \
 		$(call copy_toolchain_lib_root,$(STAGING_DIR)/,,lib,$$libs,/lib) ; \
 	done

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

end of thread, other threads:[~2015-02-09 17:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-08 23:44 [Buildroot] glibc and locale Steve Kenton
2015-02-09  7:09 ` Thomas Petazzoni
2015-02-09 14:37   ` Steve Kenton
2015-02-09 17:50     ` [Buildroot] glibc (and uClibc) " Steve Kenton

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