tools: util-linux: use --disable-all-programs
authorRobert Marko <robimarko@gmail.com>
Tue, 25 Jun 2024 15:45:57 +0000 (17:45 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 26 Jun 2024 09:21:03 +0000 (11:21 +0200)
commit54115ec22d155c5e45e6151aac82f99d89d069aa
treeafdc1b3e70f89b864ea8e95c68c66b0e23329a6b
parent2b666bb827603890ae6e57df07fd8848e5835ba3
tools: util-linux: use --disable-all-programs

util-linux supports passing --disable-all-programs configure flag to
disable building anything that isnt then manually enabled.

So, lets switch to using that instead of manually having to disable all
tools we dont need.

However, current drawback is that there is no upstream support for enabling
building hexdump so I included a patch that is pending upstream[0].

[0] https://github.com/util-linux/util-linux/pull/3101

Link: https://github.com/openwrt/openwrt/pull/15806
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/Makefile
tools/util-linux/Makefile
tools/util-linux/patches/100-hexdump-allow-enabling-with-disable-all-programs.patch [new file with mode: 0644]