]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ACPI: tables: Add custom DSDT file as makefile prerequisite
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Mon, 21 Jun 2021 15:24:33 +0000 (16:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:15:46 +0000 (16:15 +0200)
commitcdf94d8d75c4cd935a4ee37671241c7366045715
tree19e2be7f896d4445d5bd80501d190cf06dc84278
parent73af8425a57f69d00b0954a15f099355bb9783d5
ACPI: tables: Add custom DSDT file as makefile prerequisite

[ Upstream commit d1059c1b1146870c52f3dac12cb7b6cbf39ed27f ]

A custom DSDT file is mostly used during development or debugging,
and in that case it is quite likely to want to rebuild the kernel
after changing ONLY the content of the DSDT.

This patch adds the custom DSDT as a prerequisite to tables.o
to ensure a rebuild if the DSDT file is updated. Make will merge
the prerequisites from multiple rules for the same target.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/acpi/Makefile