summaryrefslogtreecommitdiffstats
path: root/drivers/memory/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-03-30 21:04:18 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-04-08 21:03:34 +0900
commitad4d1216f2c55439e9703de1515812c018984dca (patch)
tree4ffb45f499f57954802c2fae648198af404eaeb5 /drivers/memory/Makefile
parenta9a49c2ad9b9b8ee20668c15ca2b806dbed8ea40 (diff)
downloadlinux-ad4d1216f2c55439e9703de1515812c018984dca.tar.gz
linux-ad4d1216f2c55439e9703de1515812c018984dca.tar.bz2
linux-ad4d1216f2c55439e9703de1515812c018984dca.zip
memory: squash drivers/memory/Makefile.asm-offsets
drivers/memory/Makefile.asm-offsets is small enough, and included from a single place. Squash it into drivers/memory/Makefile. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/memory/Makefile')
-rw-r--r--drivers/memory/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/memory/Makefile b/drivers/memory/Makefile
index 90161dec6fa5..91ae4eb0e913 100644
--- a/drivers/memory/Makefile
+++ b/drivers/memory/Makefile
@@ -28,6 +28,9 @@ ti-emif-sram-objs := ti-emif-pm.o ti-emif-sram-pm.o
AFLAGS_ti-emif-sram-pm.o :=-Wa,-march=armv7-a
-include drivers/memory/Makefile.asm-offsets
-
drivers/memory/ti-emif-sram-pm.o: include/generated/ti-emif-asm-offsets.h
+
+include/generated/ti-emif-asm-offsets.h: drivers/memory/emif-asm-offsets.s FORCE
+ $(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__)
+
+targets += emif-asm-offsets.s