summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2020-01-10 17:11:09 -0600
committerHarsh Sharma <harsh.sharma@multitech.com>2020-01-10 17:11:09 -0600
commitacb6f2db223487f2a80d7733ce91c735ff50302e (patch)
treeea275032de1173187234aa55bdb744100543b6bb /Makefile
parent03299da706c0f8b3a9fc8565d980a253eeab82e5 (diff)
downloadmts-io-sysfs-acb6f2db223487f2a80d7733ce91c735ff50302e.tar.gz
mts-io-sysfs-acb6f2db223487f2a80d7733ce91c735ff50302e.tar.bz2
mts-io-sysfs-acb6f2db223487f2a80d7733ce91c735ff50302e.zip
Added flags make strip to reduce output size
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 986df97..b0c1996 100644
--- a/Makefile
+++ b/Makefile
@@ -111,7 +111,7 @@ install:
mkdir -p $(DESTDIR)/opt/lora
strip:
- $(STRIP) $(BUILDDIR)/mts-io-sysfs
+ $(STRIP) -S --strip-unneeded --remove-section=.note.gnu.gold-version --remove-section=.comment --remove-section=.note --remove-section=.note.gnu.build-id --remove-section=.note.ABI-tag $(BUILDDIR)/mts-io-sysfs
clean:
-$(RM) $(OBJS) $(CPP_DEPPS) $(BUILDDIR)/mts-io-sysfs