Freetype not stripped on target
Peter,
At revision 25734, you made the following change :
======================================================================================
freetype.mk (revision 25734) renamed from freetype.mk (revision 25733) +2 -3
@@ -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
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers and embedded Linux development, consulting, training and support. http://free-electrons.com
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> 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 theFREETYPE_HOOK_POST_INSTALL, will fix.
Signature · 1 line
Bye, Peter Korsgaard