From 1d7b9de3504e90f0886fccec3a1f8a783fd4cc58 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sun, 19 Apr 2015 12:48:25 -0700 Subject: kbuild: Use wildcard for driver subdirectories Change-Id: Id1685c0b28ec8e3ab972a671af6f2de6f321c645 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/9805 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/drivers/uart/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/drivers/uart') diff --git a/src/drivers/uart/Makefile.inc b/src/drivers/uart/Makefile.inc index c4feb9a605..1a809e0a0d 100644 --- a/src/drivers/uart/Makefile.inc +++ b/src/drivers/uart/Makefile.inc @@ -1,3 +1,5 @@ +ifeq ($(CONFIG_DRIVERS_UART),y) + romstage-y += util.c ramstage-y += util.c bootblock-y += util.c @@ -28,3 +30,5 @@ bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += pl011.c romstage-y += pl011.c ramstage-y += pl011.c endif + +endif -- cgit v1.2.3