src/arch/x86: Build mainboard acpi_tables source if present
commit1e83e5c61a3aa98f58f7d8cbf8d1eb9532896cc3
authorKarthikeyan Ramasubramanian <kramasub@google.com>
Mon, 16 Dec 2019 20:26:35 +0000 (16 13:26 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 19 Dec 2019 17:48:57 +0000 (19 17:48 +0000)
tree5a93209bd90f8080a27ab74a4f3d23d7239266ec
parentb9e84483848d03e0085f5eee1c20fc3932f52e3d
src/arch/x86: Build mainboard acpi_tables source if present

Current build rules require adding blank acpi_tables in some of the
mainboards (eg. octopus, hatch). Update the build rules to compile the
acpi_tables.c only if it is present. This will help to avoid adding
blank acpi_tables.c source file.

BUG=None
TEST=Build test with octopus and hatch without blank acpi_table.c file.

Change-Id: I7dfacc6f4c737699b22acd96e17c9426d33574bd
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37774
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Aamir Bohra <aamir.bohra@intel.com>
src/arch/x86/Makefile.inc