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 2116460..dadae67 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