diff mbox

[U-Boot,v2,13/14] dm: remove redundant CONFIG_DM from driver/core/Makefile

Message ID 1436761037-19635-14-git-send-email-yamada.masahiro@socionext.com
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Masahiro Yamada July 13, 2015, 4:17 a.m. UTC
As you see in driver/Makefile, Kbuild descends into the driver/core/
directory only when CONFIG_DM is enabled.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v2:
  - Newly added

 drivers/core/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Glass July 16, 2015, 12:59 a.m. UTC | #1
On 12 July 2015 at 22:17, Masahiro Yamada <yamada.masahiro@socionext.com> wrote:
>
> As you see in driver/Makefile, Kbuild descends into the driver/core/
> directory only when CONFIG_DM is enabled.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> Changes in v2:
>   - Newly added
>
>  drivers/core/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Simon Glass <sjg@chromium.org>

>
> diff --git a/drivers/core/Makefile b/drivers/core/Makefile
> index cd8c104..5f019e8 100644
> --- a/drivers/core/Makefile
> +++ b/drivers/core/Makefile
> @@ -4,7 +4,7 @@
>  # SPDX-License-Identifier:     GPL-2.0+
>  #
>
> -obj-$(CONFIG_DM)       += device.o lists.o root.o uclass.o util.o devres.o
> +obj-y += device.o lists.o root.o uclass.o util.o devres.o
>  ifndef CONFIG_SPL_BUILD
>  obj-$(CONFIG_OF_CONTROL) += simple-bus.o
>  endif
> --
> 1.9.1
>
Simon Glass July 17, 2015, 11:59 p.m. UTC | #2
On 15 July 2015 at 18:59, Simon Glass <sjg@chromium.org> wrote:
> On 12 July 2015 at 22:17, Masahiro Yamada <yamada.masahiro@socionext.com> wrote:
>>
>> As you see in driver/Makefile, Kbuild descends into the driver/core/
>> directory only when CONFIG_DM is enabled.
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>> ---
>>
>> Changes in v2:
>>   - Newly added
>>
>>  drivers/core/Makefile | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Acked-by: Simon Glass <sjg@chromium.org>
>
>>
>> diff --git a/drivers/core/Makefile b/drivers/core/Makefile
>> index cd8c104..5f019e8 100644
>> --- a/drivers/core/Makefile
>> +++ b/drivers/core/Makefile
>> @@ -4,7 +4,7 @@
>>  # SPDX-License-Identifier:     GPL-2.0+
>>  #
>>
>> -obj-$(CONFIG_DM)       += device.o lists.o root.o uclass.o util.o devres.o
>> +obj-y += device.o lists.o root.o uclass.o util.o devres.o
>>  ifndef CONFIG_SPL_BUILD
>>  obj-$(CONFIG_OF_CONTROL) += simple-bus.o
>>  endif
>> --
>> 1.9.1
>>

Applied to u-boot-dm, thanks!
diff mbox

Patch

diff --git a/drivers/core/Makefile b/drivers/core/Makefile
index cd8c104..5f019e8 100644
--- a/drivers/core/Makefile
+++ b/drivers/core/Makefile
@@ -4,7 +4,7 @@ 
 # SPDX-License-Identifier:	GPL-2.0+
 #
 
-obj-$(CONFIG_DM)	+= device.o lists.o root.o uclass.o util.o devres.o
+obj-y += device.o lists.o root.o uclass.o util.o devres.o
 ifndef CONFIG_SPL_BUILD
 obj-$(CONFIG_OF_CONTROL) += simple-bus.o
 endif