package/linux-tools: change method for including linux-tool sub-makefiles
authorMarkus Mayer <mmayer@broadcom.com>
Tue, 18 Jul 2017 18:11:37 +0000 (11:11 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 19 Jul 2017 19:16:38 +0000 (21:16 +0200)
commitb2c043b29a9de15a3f0c4be1275653adc42400c2
tree42b39f7de8697e1f64f1314ee83818c9f310f36d
parentc12e01cc2c3133bfb9f53ab0486c6d7bf909d089
package/linux-tools: change method for including linux-tool sub-makefiles

Make inclusion ordering of all linux-tool-*.mk sub-makefiles explicit
instead of relying on alphabetical sort order. This is done by
renaming the Linux tools sub-makefiles to the format linux-tool-*.mk.in.
This causes the top-level Makefile to ignore the Linux tools
sub-makefiles.

Until now, the main Makefile included all linux-tool-*.mk files, as
well as linux-tools.mk, and it relied on alphabetical sorting to
include them in the proper order (linux-tool-*.mk before
linux-tools.mk).

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: improve comment in the code as suggested by Yann.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 files changed:
docs/manual/adding-packages-linux-kernel-spec-infra.txt
package/linux-tools/linux-tool-cpupower.mk [deleted file]
package/linux-tools/linux-tool-cpupower.mk.in [new file with mode: 0644]
package/linux-tools/linux-tool-gpio.mk [deleted file]
package/linux-tools/linux-tool-gpio.mk.in [new file with mode: 0644]
package/linux-tools/linux-tool-iio.mk [deleted file]
package/linux-tools/linux-tool-iio.mk.in [new file with mode: 0644]
package/linux-tools/linux-tool-perf.mk [deleted file]
package/linux-tools/linux-tool-perf.mk.in [new file with mode: 0644]
package/linux-tools/linux-tool-selftests.mk [deleted file]
package/linux-tools/linux-tool-selftests.mk.in [new file with mode: 0644]
package/linux-tools/linux-tools.mk