diff mbox

ARM: mediatek: clean up mach-mediatek/Makefile

Message ID 1474222273-23116-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 494975c9cc00f69bf71de0991dcebda9b2911aa0
Headers show

Commit Message

Masahiro Yamada Sept. 18, 2016, 6:11 p.m. UTC
Kbuild descends into arch/arm/mach-mediatek/Makefile only when
CONFIG_ARCH_MEDIATEK is enabled.  So, obj-$(CONFIG_ARCH_MEDIATEK)
is always equivalent to obj-y in this Makefile.

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

---

 arch/arm/mach-mediatek/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

-- 
1.9.1

Comments

Masahiro Yamada Oct. 31, 2016, 1:15 p.m. UTC | #1
Hi Matthias,


Can you pick up this for your next pull request?



2016-09-19 3:11 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> Kbuild descends into arch/arm/mach-mediatek/Makefile only when

> CONFIG_ARCH_MEDIATEK is enabled.  So, obj-$(CONFIG_ARCH_MEDIATEK)

> is always equivalent to obj-y in this Makefile.

>

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

> ---

>

>  arch/arm/mach-mediatek/Makefile | 6 ++----

>  1 file changed, 2 insertions(+), 4 deletions(-)

>

> diff --git a/arch/arm/mach-mediatek/Makefile b/arch/arm/mach-mediatek/Makefile

> index 2116460..dadae67 100644

> --- a/arch/arm/mach-mediatek/Makefile

> +++ b/arch/arm/mach-mediatek/Makefile

> @@ -1,4 +1,2 @@

> -ifeq ($(CONFIG_SMP),y)

> -obj-$(CONFIG_ARCH_MEDIATEK) += platsmp.o

> -endif

> -obj-$(CONFIG_ARCH_MEDIATEK) += mediatek.o

> +obj-$(CONFIG_SMP)      += platsmp.o

> +obj-y                  += mediatek.o

> --

> 1.9.1

>

>

> _______________________________________________

> linux-arm-kernel mailing list

> linux-arm-kernel@lists.infradead.org

> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel




-- 
Best Regards
Masahiro Yamada
Matthias Brugger Oct. 31, 2016, 9:29 p.m. UTC | #2
On 10/31/2016 07:15 AM, Masahiro Yamada wrote:
> Hi Matthias,

>

>

> Can you pick up this for your next pull request?

>


Sure, pushed to v4.9-next/kconfig

Next time please don't forget to send your patches to the mediatek 
mailinglist:
linux-mediatek@lists.infradead.org

This makes it easier for me to track the patches.

Thanks,
Matthias

>

>

> 2016-09-19 3:11 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:

>> Kbuild descends into arch/arm/mach-mediatek/Makefile only when

>> CONFIG_ARCH_MEDIATEK is enabled.  So, obj-$(CONFIG_ARCH_MEDIATEK)

>> is always equivalent to obj-y in this Makefile.

>>

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

>> ---

>>

>>  arch/arm/mach-mediatek/Makefile | 6 ++----

>>  1 file changed, 2 insertions(+), 4 deletions(-)

>>

>> diff --git a/arch/arm/mach-mediatek/Makefile b/arch/arm/mach-mediatek/Makefile

>> index 2116460..dadae67 100644

>> --- a/arch/arm/mach-mediatek/Makefile

>> +++ b/arch/arm/mach-mediatek/Makefile

>> @@ -1,4 +1,2 @@

>> -ifeq ($(CONFIG_SMP),y)

>> -obj-$(CONFIG_ARCH_MEDIATEK) += platsmp.o

>> -endif

>> -obj-$(CONFIG_ARCH_MEDIATEK) += mediatek.o

>> +obj-$(CONFIG_SMP)      += platsmp.o

>> +obj-y                  += mediatek.o

>> --

>> 1.9.1

>>

>>

>> _______________________________________________

>> linux-arm-kernel mailing list

>> linux-arm-kernel@lists.infradead.org

>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

>

>

>
Masahiro Yamada Nov. 1, 2016, 2:17 a.m. UTC | #3
Hi Matthias,

2016-11-01 6:29 GMT+09:00 Matthias Brugger <matthias.bgg@gmail.com>:
>

>

> On 10/31/2016 07:15 AM, Masahiro Yamada wrote:

>>

>> Hi Matthias,

>>

>>

>> Can you pick up this for your next pull request?

>>

>

> Sure, pushed to v4.9-next/kconfig

>

> Next time please don't forget to send your patches to the mediatek

> mailinglist:

> linux-mediatek@lists.infradead.org

>

> This makes it easier for me to track the patches.

>


Sorry about that.


I think I did so, but I am a non-subscriber of linux-mediatek.

As is often the case with moderation, I guess it was just ignored.


-- 
Best Regards
Masahiro Yamada
diff mbox

Patch

diff --git a/arch/arm/mach-mediatek/Makefile b/arch/arm/mach-mediatek/Makefile
index 2116460..dadae67 100644
--- a/arch/arm/mach-mediatek/Makefile
+++ b/arch/arm/mach-mediatek/Makefile
@@ -1,4 +1,2 @@ 
-ifeq ($(CONFIG_SMP),y)
-obj-$(CONFIG_ARCH_MEDIATEK) += platsmp.o
-endif
-obj-$(CONFIG_ARCH_MEDIATEK) += mediatek.o
+obj-$(CONFIG_SMP)	+= platsmp.o
+obj-y			+= mediatek.o