kbuild: rebuild modules when module linker scripts are updated
[linux-2.6-block.git] / arch / arm / Makefile
index c3624ca6c0bca7c036c6f7e386a9a6fc1ae72b3c..fbe50eec8f34826bab4c697801c397978503e137 100644 (file)
@@ -17,7 +17,7 @@ KBUILD_LDFLAGS_MODULE += --be8
 endif
 
 ifeq ($(CONFIG_ARM_MODULE_PLTS),y)
-KBUILD_LDFLAGS_MODULE  += -T $(srctree)/arch/arm/kernel/module.lds
+KBUILD_LDS_MODULE      += $(srctree)/arch/arm/kernel/module.lds
 endif
 
 GZFLAGS                :=-9