summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mediatek/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-18 20:11:13 +0200
committerMatthias Brugger <matthias.bgg@gmail.com>2016-10-31 22:26:23 +0100
commit494975c9cc00f69bf71de0991dcebda9b2911aa0 (patch)
tree61b8d504c3a5c8cac6b7b50369b58b5d7f5110b4 /arch/arm/mach-mediatek/Makefile
parentLinux 4.9-rc1 (diff)
downloadlinux-494975c9cc00f69bf71de0991dcebda9b2911aa0.tar.xz
linux-494975c9cc00f69bf71de0991dcebda9b2911aa0.zip
ARM: mediatek: clean up mach-mediatek/Makefile
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>
Diffstat (limited to 'arch/arm/mach-mediatek/Makefile')
-rw-r--r--arch/arm/mach-mediatek/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-mediatek/Makefile b/arch/arm/mach-mediatek/Makefile
index 21164605b83f..dadae67d79b7 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