From: Masahiro Yamada Date: Tue, 11 Aug 2015 22:31:45 +0000 (+0900) Subject: dm: unify obj-$(CONFIG_DM) and obj-$(CONFIG_SPL_DM) entries X-Git-Tag: v2015.10-rc3~129 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=040906f68d2e7e9ee3d96476972d0506b80cf5f0;p=platform%2Fkernel%2Fu-boot.git dm: unify obj-$(CONFIG_DM) and obj-$(CONFIG_SPL_DM) entries Signed-off-by: Masahiro Yamada Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- diff --git a/drivers/Makefile b/drivers/Makefile index a24c5f5..ee8e418 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -1,7 +1,8 @@ +obj-$(CONFIG_$(SPL_)DM) += core/ + ifdef CONFIG_SPL_BUILD obj-$(CONFIG_SPL_CLK_SUPPORT) += clk/ -obj-$(CONFIG_SPL_DM) += core/ obj-$(CONFIG_SPL_I2C_SUPPORT) += i2c/ obj-$(CONFIG_SPL_GPIO_SUPPORT) += gpio/ obj-$(CONFIG_SPL_MMC_SUPPORT) += mmc/ @@ -34,7 +35,6 @@ obj-$(CONFIG_SPL_SATA_SUPPORT) += block/ else obj-$(CONFIG_CLK) += clk/ -obj-$(CONFIG_DM) += core/ obj-$(CONFIG_DM_DEMO) += demo/ obj-$(CONFIG_BIOSEMU) += bios_emulator/ obj-y += block/