summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Aksenov <a.aksenov@samsung.com>2014-04-29 18:44:31 +0400
committerAlexander Aksenov <a.aksenov@samsung.com>2014-04-29 18:45:15 +0400
commit0d2070cee3fa5ecd230d5c09cfec0cbfce3ca29c (patch)
tree164720fd136ddc196c0b376abe7d8ab515f18870
parent7aa5d1c3653e83743b71493420e18b07f5fe6175 (diff)
downloadswap-modules-swap_dlog.tar.gz
swap-modules-swap_dlog.tar.bz2
swap-modules-swap_dlog.zip
[IMPROVE] Build: add strip to build scriptswap_dlog
Change-Id: I5126f8e2e3c3cc2e552f8089c54973a03ca3f252 Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
-rwxr-xr-xbuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 6bf6e34f..4ce1ea34 100755
--- a/build.sh
+++ b/build.sh
@@ -34,6 +34,8 @@ ln -s asm-${link_name} ${uprobe_arch_dir}/asm
make CROSS_COMPILE=${cross_compile} ARCH=${arch} -C ${kernel_dir} \
M=${modules_dir} extra_cflags="-Werror -I${modules_dir}" modules || exit 1
+${cross_compile}strip -x -g ${module_name}
+
modules=\
"${module_name}"