[Buildroot] [git commit] icu: remove dev files
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Mar 20 21:16:13 UTC 2016
commit: https://git.buildroot.net/buildroot/commit/?id=11bee135d2c91549676a7ded187009fb0f02529d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Remove files that aren't used for runtime purposes.
Size savings delta +450 KB.
Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/icu/icu.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/icu/icu.mk b/package/icu/icu.mk
index b4574e5..68ea1ff 100644
--- a/package/icu/icu.mk
+++ b/package/icu/icu.mk
@@ -44,5 +44,12 @@ endef
ICU_POST_PATCH_HOOKS += ICU_COPY_CUSTOM_DATA
endif
+define ICU_REMOVE_DEV_FILES
+ rm -f $(addprefix $(TARGET_DIR)/usr/bin/,derb genbrk gencfu gencnval gendict genrb icuinfo makeconv uconv)
+ rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,genccode gencmn gennorm2 gensprep icupkg)
+ rm -rf $(TARGET_DIR)/usr/share/icu
+endef
+ICU_POST_INSTALL_TARGET_HOOKS += ICU_REMOVE_DEV_FILES
+
$(eval $(autotools-package))
$(eval $(host-autotools-package))
More information about the buildroot
mailing list