dataplaneapi icon indicating copy to clipboard operation
dataplaneapi copied to clipboard

Makefile: add stripped and packed/compressed binary targets suitable for embedded envs

Open brhenc opened this issue 5 years ago • 1 comments

Greetings,

To better support embedded systems with limited flash storage, this pull request introduces optional build targets that take advantage of several space-saving features.

The space savings are significant - the default target produces a 25MB dataplaneapi binary, while the binary produced by the experimental-minified-build-ultra-brute build target being introduced produces a 4.2MB binary.

There's plenty of opportunity to optimize the space usage further, but the below patches should provide a good starting point to investigate further.

brhenc avatar Nov 20 '20 06:11 brhenc

hi @brhenc thx for PR can you just change commit messages so they follow Contributing Guide

in short, change them to

BUILD/MINOR: Makefile: .....

oktalz avatar Nov 23 '20 08:11 oktalz