ethtool: Add option to enable/disable pretty-printing
authorFlorian Fainelli <redacted>
Sat, 23 May 2015 17:44:12 +0000 (10:44 -0700)
committerFlorian Fainelli <redacted>
Thu, 28 May 2015 03:00:55 +0000 (20:00 -0700)
commit165fb918a6db3a91e70086d903deafb5c50c05a0
treef78fef46c2ea9c9199867ee176c6b4eeb4f19021
parent8a86f8425951b906110b5c7ccae907b59ffbf035
ethtool: Add option to enable/disable pretty-printing

With upstream commit
https://git.kernel.org/cgit/network/ethtool/ethtool.git/commit/?id=875616dfcbe57ea0f639a20d85fcbad2172ad744

there is now an option to produce a smaller ethtool build which will
disable pretty printing (Ethernet drivers, SFP diagnostics...) for
platforms that do not need it.

Hook a menu configuration option to control that option. Build size
differences on ar71xx:

With:
-rw-r--r-- 1 florian florian 79K mai   23 10:43
bin/ar71xx/packages/packages/ethtool_3.18-1_ar71xx.ipk

Without:
-rw-r--r-- 1 florian florian 23K mai   23 10:43
bin/ar71xx/packages/packages/ethtool_3.18-1_ar71xx.ipk

Signed-off-by: Florian Fainelli <redacted>
net/ethtool/Config.in [new file with mode: 0644]
net/ethtool/Makefile
git clone https://git.99rst.org/PROJECT