diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-22 04:50:34 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-22 20:12:08 -0500 |
commit | 2c667d77fc02dd453c49b9c29d08a8bb55d60ebe (patch) | |
tree | 64f046796fcf8638d4e9c672a797cd31d18cf22f | |
parent | 4d4b5c2e3b6e6137c36cc13fe0d03404205afbd0 (diff) |
treewide: add intermediate .s files to targets
Avoid unneeded recreation of these in the incremental build.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | arch/arm/mach-at91/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 2 | ||||
-rw-r--r-- | arch/ia64/kernel/Makefile | 2 | ||||
-rw-r--r-- | arch/x86/um/Makefile | 1 | ||||
-rw-r--r-- | drivers/memory/Makefile.asm-offsets | 2 | ||||
-rw-r--r-- | samples/bpf/Makefile | 1 |
6 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile index f87066b60836..31b61f0e1c07 100644 --- a/arch/arm/mach-at91/Makefile +++ b/arch/arm/mach-at91/Makefile | |||
@@ -23,3 +23,5 @@ include/generated/at91_pm_data-offsets.h: arch/arm/mach-at91/pm_data-offsets.s F | |||
23 | $(call filechk,offsets,__PM_DATA_OFFSETS_H__) | 23 | $(call filechk,offsets,__PM_DATA_OFFSETS_H__) |
24 | 24 | ||
25 | arch/arm/mach-at91/pm_suspend.o: include/generated/at91_pm_data-offsets.h | 25 | arch/arm/mach-at91/pm_suspend.o: include/generated/at91_pm_data-offsets.h |
26 | |||
27 | targets += pm_data-offsets.s | ||
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 55c482c2bab1..4afdf56964c9 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -240,3 +240,5 @@ include/generated/ti-pm-asm-offsets.h: arch/arm/mach-omap2/pm-asm-offsets.s FORC | |||
240 | $(call filechk,offsets,__TI_PM_ASM_OFFSETS_H__) | 240 | $(call filechk,offsets,__TI_PM_ASM_OFFSETS_H__) |
241 | 241 | ||
242 | $(obj)/sleep33xx.o $(obj)/sleep43xx.o: include/generated/ti-pm-asm-offsets.h | 242 | $(obj)/sleep33xx.o $(obj)/sleep43xx.o: include/generated/ti-pm-asm-offsets.h |
243 | |||
244 | targets += pm-asm-offsets.s | ||
diff --git a/arch/ia64/kernel/Makefile b/arch/ia64/kernel/Makefile index 7372d994b44e..4ba05140b249 100644 --- a/arch/ia64/kernel/Makefile +++ b/arch/ia64/kernel/Makefile | |||
@@ -52,3 +52,5 @@ include $(src)/Makefile.gate | |||
52 | 52 | ||
53 | include/generated/nr-irqs.h: arch/$(SRCARCH)/kernel/nr-irqs.s FORCE | 53 | include/generated/nr-irqs.h: arch/$(SRCARCH)/kernel/nr-irqs.s FORCE |
54 | $(call filechk,offsets,__ASM_NR_IRQS_H__) | 54 | $(call filechk,offsets,__ASM_NR_IRQS_H__) |
55 | |||
56 | targets += nr-irqs.s | ||
diff --git a/arch/x86/um/Makefile b/arch/x86/um/Makefile index 17924646467c..2d686ae54681 100644 --- a/arch/x86/um/Makefile +++ b/arch/x86/um/Makefile | |||
@@ -38,6 +38,7 @@ USER_OBJS := bugs_$(BITS).o ptrace_user.o fault.o | |||
38 | 38 | ||
39 | $(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \ | 39 | $(obj)/user-offsets.s: c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) \ |
40 | -Iarch/x86/include/generated | 40 | -Iarch/x86/include/generated |
41 | targets += user-offsets.s | ||
41 | 42 | ||
42 | include/generated/user_constants.h: $(obj)/user-offsets.s | 43 | include/generated/user_constants.h: $(obj)/user-offsets.s |
43 | $(call filechk,offsets,__USER_CONSTANT_H__) | 44 | $(call filechk,offsets,__USER_CONSTANT_H__) |
diff --git a/drivers/memory/Makefile.asm-offsets b/drivers/memory/Makefile.asm-offsets index f968dfa71d8e..0447e174c752 100644 --- a/drivers/memory/Makefile.asm-offsets +++ b/drivers/memory/Makefile.asm-offsets | |||
@@ -1,2 +1,4 @@ | |||
1 | include/generated/ti-emif-asm-offsets.h: drivers/memory/emif-asm-offsets.s FORCE | 1 | include/generated/ti-emif-asm-offsets.h: drivers/memory/emif-asm-offsets.s FORCE |
2 | $(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__) | 2 | $(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__) |
3 | |||
4 | targets += emif-asm-offsets.s | ||
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index 100a49d35c77..82d5a3870460 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile | |||
@@ -230,6 +230,7 @@ $(LIBBPF): FORCE | |||
230 | $(obj)/syscall_nrs.h: $(obj)/syscall_nrs.s FORCE | 230 | $(obj)/syscall_nrs.h: $(obj)/syscall_nrs.s FORCE |
231 | $(call filechk,offsets,__SYSCALL_NRS_H__) | 231 | $(call filechk,offsets,__SYSCALL_NRS_H__) |
232 | 232 | ||
233 | targets += syscall_nrs.s | ||
233 | clean-files += syscall_nrs.h | 234 | clean-files += syscall_nrs.h |
234 | 235 | ||
235 | FORCE: | 236 | FORCE: |