* [Buildroot] Freetype not stripped on target
@ 2009-03-30 13:27 Thomas Petazzoni
2009-03-30 13:51 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2009-03-30 13:27 UTC (permalink / raw)
To: buildroot
Peter,
At revision 25734, you made the following change :
======================================================================================
--- freetype.mk (revision 25733)
+++ freetype.mk (revision 25734)
@@ -9,14 +9,13 @@
FREETYPE_LIBTOOL_PATCH = NO
FREETYPE_INSTALL_STAGING = YES
FREETYPE_INSTALL_TARGET = YES
+FREETYPE_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
FREETYPE_MAKE_OPT = CCexe="$(HOSTCC)"
FREETYPE_DEPENDENCIES = uclibc host-pkgconfig $(if $(BR2_PACKAGE_ZLIB),zlib)
$(eval $(call AUTOTARGETS,package,freetype))
-$(FREETYPE_TARGET_INSTALL_TARGET):
- -cp -a $(FREETYPE_DIR)/objs/.libs/libfreetype.so* $(TARGET_DIR)/usr/lib/
- $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libfreetype.so
+$(FREETYPE_HOOK_POST_INSTALL):
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
-e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
-e "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include/freetype2\',g" \
======================================================================================
With the comment
======================================================================================
r25734 | jacmet | 2009-03-18 22:21:56 +0100 (Wed, 18 Mar 2009) | 1 line
freetype: cleanup target install
======================================================================================
Any reason for giving a specific value to FREETYPE_INSTALL_TARGET_OPT
instead of keeping the default ? The default is install-strip, which
would have installed a stripped version of the freetype library to the
target. Is this a problem ?
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Freetype not stripped on target
2009-03-30 13:27 [Buildroot] Freetype not stripped on target Thomas Petazzoni
@ 2009-03-30 13:51 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2009-03-30 13:51 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Any reason for giving a specific value to FREETYPE_INSTALL_TARGET_OPT
Thomas> instead of keeping the default ? The default is install-strip, which
Thomas> would have installed a stripped version of the freetype library to the
Thomas> target. Is this a problem ?
Well, the reason is:
make DESTDIR=/tmp/type install-strip /tmp/freetype-2.3.9
make: *** No rule to make target `install-strip'. Stop.
But I agree, we should add a $(STRIPCMD) to the
FREETYPE_HOOK_POST_INSTALL, will fix.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-30 13:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-30 13:27 [Buildroot] Freetype not stripped on target Thomas Petazzoni
2009-03-30 13:51 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox