From c63649bdbbeddbdb742b4335af0313fc1c3bd552 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sat, 16 Nov 2019 12:13:03 +0100 Subject: */Makefile: Always build enable_usbdebug.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/36881 Tested-by: build bot (Jenkins) Reviewed-by: Mike Banon Reviewed-by: Nico Huber Reviewed-by: Kyösti Mälkki --- src/southbridge/amd/sb700/Makefile.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/southbridge/amd/sb700') diff --git a/src/southbridge/amd/sb700/Makefile.inc b/src/southbridge/amd/sb700/Makefile.inc index 17d0a3abc0..0a20a8c8b3 100644 --- a/src/southbridge/amd/sb700/Makefile.inc +++ b/src/southbridge/amd/sb700/Makefile.inc @@ -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 -- cgit v1.2.3