memory: squash drivers/memory/Makefile.asm-offsets
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 30 Mar 2019 12:04:18 +0000 (21:04 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 8 Apr 2019 12:03:34 +0000 (21:03 +0900)
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>
drivers/memory/Makefile
drivers/memory/Makefile.asm-offsets [deleted file]

index 90161dec6fa50cf591dc06e800ae9f2d4d8367e6..91ae4eb0e9137423bf75183b4790eb69bd426374 100644 (file)
@@ -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
diff --git a/drivers/memory/Makefile.asm-offsets b/drivers/memory/Makefile.asm-offsets
deleted file mode 100644 (file)
index 0447e17..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-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