*/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:
parent
2c43bf7969
commit
c63649bdbb
|
@ -42,7 +42,7 @@ bootblock-y += BiosCallOuts.c
|
||||||
bootblock-y += bootblock/bootblock.c
|
bootblock-y += bootblock/bootblock.c
|
||||||
bootblock-y += gpio.c
|
bootblock-y += gpio.c
|
||||||
bootblock-y += i2c.c
|
bootblock-y += i2c.c
|
||||||
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
bootblock-y += enable_usbdebug.c
|
||||||
bootblock-y += monotonic_timer.c
|
bootblock-y += monotonic_timer.c
|
||||||
bootblock-y += pmutil.c
|
bootblock-y += pmutil.c
|
||||||
bootblock-y += reset.c
|
bootblock-y += reset.c
|
||||||
|
@ -54,7 +54,7 @@ bootblock-$(CONFIG_HAVE_SMI_HANDLER) += smi_util.c
|
||||||
romstage-y += BiosCallOuts.c
|
romstage-y += BiosCallOuts.c
|
||||||
romstage-y += i2c.c
|
romstage-y += i2c.c
|
||||||
romstage-y += romstage.c
|
romstage-y += romstage.c
|
||||||
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
romstage-y += enable_usbdebug.c
|
||||||
romstage-y += gpio.c
|
romstage-y += gpio.c
|
||||||
romstage-y += monotonic_timer.c
|
romstage-y += monotonic_timer.c
|
||||||
romstage-y += pmutil.c
|
romstage-y += pmutil.c
|
||||||
|
@ -89,7 +89,7 @@ ramstage-y += i2c.c
|
||||||
ramstage-y += chip.c
|
ramstage-y += chip.c
|
||||||
ramstage-y += cpu.c
|
ramstage-y += cpu.c
|
||||||
ramstage-y += mca.c
|
ramstage-y += mca.c
|
||||||
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
ramstage-y += enable_usbdebug.c
|
||||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
|
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
|
||||||
ramstage-y += gpio.c
|
ramstage-y += gpio.c
|
||||||
ramstage-y += monotonic_timer.c
|
ramstage-y += monotonic_timer.c
|
||||||
|
|
|
@ -65,9 +65,9 @@ romstage-y += tsc_freq.c
|
||||||
smm-y += tsc_freq.c
|
smm-y += tsc_freq.c
|
||||||
postcar-y += tsc_freq.c
|
postcar-y += tsc_freq.c
|
||||||
verstage-y += tsc_freq.c
|
verstage-y += tsc_freq.c
|
||||||
bootblock-$(CONFIG_USBDEBUG) += usb_debug.c
|
bootblock-y += usb_debug.c
|
||||||
romstage-$(CONFIG_USBDEBUG) += usb_debug.c
|
romstage-y += usb_debug.c
|
||||||
ramstage-$(CONFIG_USBDEBUG) += usb_debug.c
|
ramstage-y += usb_debug.c
|
||||||
ramstage-y += ehci.c
|
ramstage-y += ehci.c
|
||||||
ramstage-y += xhci.c
|
ramstage-y += xhci.c
|
||||||
smm-y += xhci.c
|
smm-y += xhci.c
|
||||||
|
|
|
@ -17,9 +17,9 @@ ramstage-y += sd.c
|
||||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||||
ramstage-y += reset.c
|
ramstage-y += reset.c
|
||||||
|
|
||||||
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
bootblock-y += enable_usbdebug.c
|
||||||
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
romstage-y += enable_usbdebug.c
|
||||||
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
ramstage-y += enable_usbdebug.c
|
||||||
romstage-y += early_setup.c
|
romstage-y += early_setup.c
|
||||||
|
|
||||||
ramstage-$(CONFIG_SPI_FLASH) += spi.c
|
ramstage-$(CONFIG_SPI_FLASH) += spi.c
|
||||||
|
|
|
@ -28,10 +28,10 @@
|
||||||
#
|
#
|
||||||
#*****************************************************************************
|
#*****************************************************************************
|
||||||
|
|
||||||
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
bootblock-y += enable_usbdebug.c
|
||||||
|
|
||||||
romstage-y += early_setup.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-$(CONFIG_HUDSON_IMC_FWM) += imc.c
|
||||||
romstage-y += smbus.c
|
romstage-y += smbus.c
|
||||||
romstage-y += smbus_spd.c
|
romstage-y += smbus_spd.c
|
||||||
|
@ -41,7 +41,7 @@ verstage-y += early_setup.c
|
||||||
verstage-y += reset.c
|
verstage-y += reset.c
|
||||||
verstage-$(CONFIG_HUDSON_UART) += uart.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_HAVE_ACPI_TABLES) += fadt.c
|
||||||
ramstage-$(CONFIG_SOUTHBRIDGE_AMD_PI_KERN) += gpio.c
|
ramstage-$(CONFIG_SOUTHBRIDGE_AMD_PI_KERN) += gpio.c
|
||||||
ramstage-y += hda.c
|
ramstage-y += hda.c
|
||||||
|
|
|
@ -14,9 +14,9 @@ romstage-y += reset.c
|
||||||
ramstage-y += reset.c
|
ramstage-y += reset.c
|
||||||
ramstage-y += spi.c
|
ramstage-y += spi.c
|
||||||
|
|
||||||
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
bootblock-y += enable_usbdebug.c
|
||||||
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
romstage-y += enable_usbdebug.c
|
||||||
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
ramstage-y += enable_usbdebug.c
|
||||||
|
|
||||||
romstage-y += early_setup.c
|
romstage-y += early_setup.c
|
||||||
romstage-y += smbus.c
|
romstage-y += smbus.c
|
||||||
|
|
|
@ -12,9 +12,9 @@ ramstage-y += pcie.c
|
||||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||||
ramstage-y += reset.c
|
ramstage-y += reset.c
|
||||||
|
|
||||||
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
bootblock-y += enable_usbdebug.c
|
||||||
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
romstage-y += enable_usbdebug.c
|
||||||
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
ramstage-y += enable_usbdebug.c
|
||||||
|
|
||||||
romstage-y += ramtop.c
|
romstage-y += ramtop.c
|
||||||
ramstage-y += ramtop.c
|
ramstage-y += ramtop.c
|
||||||
|
|
|
@ -17,9 +17,9 @@ ramstage-y += reset.c
|
||||||
|
|
||||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||||
|
|
||||||
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
bootblock-y += enable_usbdebug.c
|
||||||
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
romstage-y += enable_usbdebug.c
|
||||||
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
ramstage-y += enable_usbdebug.c
|
||||||
romstage-y += early_smbus.c
|
romstage-y += early_smbus.c
|
||||||
|
|
||||||
bootblock-y += romstrap.ld
|
bootblock-y += romstrap.ld
|
||||||
|
|
|
@ -17,9 +17,9 @@ ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
|
||||||
|
|
||||||
ramstage-y += reset.c
|
ramstage-y += reset.c
|
||||||
|
|
||||||
bootblock-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
bootblock-y += enable_usbdebug.c
|
||||||
romstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
romstage-y += enable_usbdebug.c
|
||||||
ramstage-$(CONFIG_USBDEBUG) += enable_usbdebug.c
|
ramstage-y += enable_usbdebug.c
|
||||||
romstage-y += early_smbus.c
|
romstage-y += early_smbus.c
|
||||||
romstage-y += early_ctrl.c
|
romstage-y += early_ctrl.c
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue