dataplaneapi
dataplaneapi copied to clipboard
Makefile: add stripped and packed/compressed binary targets suitable for embedded envs
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.
hi @brhenc thx for PR can you just change commit messages so they follow Contributing Guide
in short, change them to
BUILD/MINOR: Makefile: .....