*/Makefile: Always build enable_usbdebug.c

This always builds the usb debug callback functions when implemented.
They get garbage collected if CONFIG_USBDEBUG is not set.

Change-Id: I33051df583645cd00d08e06774383763172d5822
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36881
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Mike Banon <mikebdp2@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Arthur Heymans
2019-11-16 12:13:03 +01:00
committed by Patrick Georgi
parent 2c43bf7969
commit c63649bdbb
8 changed files with 24 additions and 24 deletions

View File

@@ -17,9 +17,9 @@ ramstage-y += sd.c
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
ramstage-y += reset.c
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
bootblock-y += enable_usbdebug.c
romstage-y += enable_usbdebug.c
ramstage-y += enable_usbdebug.c
romstage-y += early_setup.c
ramstage-$(CONFIG_SPI_FLASH) += spi.c

View File

@@ -28,10 +28,10 @@
#
#*****************************************************************************
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
bootblock-y += enable_usbdebug.c
romstage-y += early_setup.c
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
romstage-y += enable_usbdebug.c
romstage-$(CONFIG_HUDSON_IMC_FWM) += imc.c
romstage-y += smbus.c
romstage-y += smbus_spd.c
@@ -41,7 +41,7 @@ verstage-y += early_setup.c
verstage-y += reset.c
verstage-$(CONFIG_HUDSON_UART) += uart.c
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
ramstage-y += enable_usbdebug.c
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
ramstage-$(CONFIG_SOUTHBRIDGE_AMD_PI_KERN) += gpio.c
ramstage-y += hda.c

View File

@@ -14,9 +14,9 @@ romstage-y += reset.c
ramstage-y += reset.c
ramstage-y += spi.c
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
bootblock-y += enable_usbdebug.c
romstage-y += enable_usbdebug.c
ramstage-y += enable_usbdebug.c
romstage-y += early_setup.c
romstage-y += smbus.c

View File

@@ -12,9 +12,9 @@ ramstage-y += pcie.c
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
ramstage-y += reset.c
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
bootblock-y += enable_usbdebug.c
romstage-y += enable_usbdebug.c
ramstage-y += enable_usbdebug.c
romstage-y += ramtop.c
ramstage-y += ramtop.c

View File

@@ -17,9 +17,9 @@ ramstage-y += reset.c
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
bootblock-y += enable_usbdebug.c
romstage-y += enable_usbdebug.c
ramstage-y += enable_usbdebug.c
romstage-y += early_smbus.c
bootblock-y += romstrap.ld

View File

@@ -17,9 +17,9 @@ ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
ramstage-y += reset.c
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
bootblock-y += enable_usbdebug.c
romstage-y += enable_usbdebug.c
ramstage-y += enable_usbdebug.c
romstage-y += early_smbus.c
romstage-y += early_ctrl.c