ARM: mediatek: clean up mach-mediatek/Makefile
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 18 Sep 2016 18:11:13 +0000 (03:11 +0900)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 31 Oct 2016 21:26:23 +0000 (15:26 -0600)
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>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/mach-mediatek/Makefile

index 21164605b83fcd8e923798b679b29ac75781c4cc..dadae67d79b71e9b8bf2b909beb8dbe255fe3506 100644 (file)
@@ -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