]> git.baikalelectronics.ru Git - kernel.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)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 23 Jun 2021 17:31:50 +0000 (19:31 +0200)
commite7c411db478cc5942720dfab99560d4a67b6719d
treedfac064b57d457f44bc7a61ab4672de2a04bacfe
parentb228993c1ee6c0643d1392c59f5d45abace12fc7
ACPI: tables: Add custom DSDT file as makefile prerequisite

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>
drivers/acpi/Makefile