From 72a9beb3f4389d45de63158fcb3f841c522549e5 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Fri, 26 Dec 2014 12:08:11 +1100 Subject: samsung/exynos*/Makefile.inc: Simplify unnecessary ifeq It's not needed, as we can use a simpler macro instead. Change-Id: Ib96f5cfa434d0383ee3bfe49995a8f8830987f20 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/7925 Reviewed-by: Alexandru Gagniuc Tested-by: build bot (Jenkins) --- src/soc/samsung/exynos5250/Makefile.inc | 4 +--- src/soc/samsung/exynos5420/Makefile.inc | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/soc/samsung/exynos5250/Makefile.inc b/src/soc/samsung/exynos5250/Makefile.inc index cc89f2d7b5..735ce2e867 100644 --- a/src/soc/samsung/exynos5250/Makefile.inc +++ b/src/soc/samsung/exynos5250/Makefile.inc @@ -21,9 +21,7 @@ romstage-y += dmc_init_ddr3.c romstage-y += power.c romstage-y += mct.c romstage-y += monotonic_timer.c -ifeq ($(CONFIG_DRIVERS_UART),y) -romstage-y += uart.c -endif +romstage-$(CONFIG_DRIVERS_UART) += uart.c romstage-y += wakeup.c romstage-y += gpio.c romstage-y += timer.c diff --git a/src/soc/samsung/exynos5420/Makefile.inc b/src/soc/samsung/exynos5420/Makefile.inc index 5f37e7eba5..ac22620f38 100644 --- a/src/soc/samsung/exynos5420/Makefile.inc +++ b/src/soc/samsung/exynos5420/Makefile.inc @@ -22,9 +22,7 @@ romstage-y += dmc_init_ddr3.c romstage-y += power.c romstage-y += mct.c romstage-y += monotonic_timer.c -ifeq ($(CONFIG_DRIVERS_UART),y) -romstage-y += uart.c -endif +romstage-$(CONFIG_DRIVERS_UART) += uart.c romstage-y += wakeup.c romstage-y += gpio.c romstage-y += timer.c -- cgit v1.2.3