ARM: dts: am4372: Add emif node
[firefly-linux-kernel-4.4.55.git] / arch / arm / Makefile
index 2a4fae7e9c44b4d647fa0c2222673edbdecded13..07ab3d203916732337f909ec5f903db4c7bb1294 100644 (file)
@@ -19,6 +19,10 @@ LDFLAGS_vmlinux      += --be8
 LDFLAGS_MODULE += --be8
 endif
 
+ifeq ($(CONFIG_ARM_MODULE_PLTS),y)
+LDFLAGS_MODULE += -T $(srctree)/arch/arm/kernel/module.lds
+endif
+
 OBJCOPYFLAGS   :=-O binary -R .comment -S
 GZFLAGS                :=-9
 #KBUILD_CFLAGS +=-pipe