tools/7z: cleanup Makefile
authorMichael Pratt <mcpratt@pm.me>
Thu, 11 Jul 2024 07:54:29 +0000 (03:54 -0400)
committerRobert Marko <robimarko@gmail.com>
Sat, 27 Jul 2024 18:32:20 +0000 (20:32 +0200)
commitce4b345b7b498f5686b5365c4557353619466e06
tree3ef2d0efbf11692d2ae3b626ca842425ec22a495
parent0a8ed4c122efe34963ba14d1ebe98dee13272a30
tools/7z: cleanup Makefile

Define the version in one variable,
and use Make functions to use variations of it elsewhere.

Correct the CPE ID.

Override the default tar directory flag
by adding a new value to the tar options
instead of defining the entire command.

Use variables for adjusting build recipes
instead of adding custom build recipes.

Remove unnecessary lines and add spacing.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/15991
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/7z/Makefile