From 98db7f1f5000ecfd999cb2295f072ba97dd5473f Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 17 May 2009 17:26:44 +0200 Subject: [PATCH] simlify strip command --- config/path | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/path b/config/path index f50c2092f8..161503f9f3 100644 --- a/config/path +++ b/config/path @@ -187,6 +187,12 @@ kernel_path() { ls -d $ROOT/$BUILD/linux* } +strip_libs() { + if [ "$DEBUG" = no ]; then + $STRIP `find $1 -name "*.so*"` + fi +} + require_glibc() { if [ "$TARGET_LIBC" != glibc ]; then echo "$1 requires glibc, aborting."