Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: egtvedt at uclibc.org <egtvedt@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/libiconv
Date: Fri, 12 Dec 2008 01:03:47 -0800 (PST)	[thread overview]
Message-ID: <20081212090347.DF9393C2BB@busybox.net> (raw)

Author: egtvedt
Date: 2008-12-12 01:03:47 -0800 (Fri, 12 Dec 2008)
New Revision: 24388

Log:
libiconv: strip installed library and remove the preloadable library

This patch is mainly for size reduction, removing more than half the
needed footprint.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>



Modified:
   trunk/buildroot/package/libiconv/libiconv.mk


Changeset:
Modified: trunk/buildroot/package/libiconv/libiconv.mk
===================================================================
--- trunk/buildroot/package/libiconv/libiconv.mk	2008-12-12 02:14:35 UTC (rev 24387)
+++ trunk/buildroot/package/libiconv/libiconv.mk	2008-12-12 09:03:47 UTC (rev 24388)
@@ -16,3 +16,11 @@
 
 $(eval $(call AUTOTARGETS,package,libiconv))
 
+$(LIBICONV_HOOK_POST_INSTALL):
+	# Remove not used preloadable libiconv.so
+	rm -f $(STAGING_DIR)/usr/lib/preloadable_libiconv.so
+	rm -f $(TARGET_DIR)/usr/lib/preloadable_libiconv.so
+ifneq ($(BR2_ENABLE_DEBUG),y)
+	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libiconv.so.*
+endif
+	touch $@

             reply	other threads:[~2008-12-12  9:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-12  9:03 egtvedt at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-12-05 15:27 [Buildroot] svn commit: trunk/buildroot/package/libiconv jacmet at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081212090347.DF9393C2BB@busybox.net \
    --to=egtvedt@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox