diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-03-16 22:01:08 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-03-16 23:56:31 -0400 |
commit | 7cbbbb8bc2974264bbbf326d9a4552fc8878d375 (patch) | |
tree | f5a3c927cd662dc9fac451335097de0205d6f087 /arch/openrisc | |
parent | f84dde10d893cd368e73dda04b694169542ed792 (diff) |
kbuild: warn redundant generic-y
The generic-y is redundant under the following condition:
- arch has its own implementation
- the same header is added to generated-y
- the same header is added to mandatory-y
If a redundant generic-y is found, the warning like follows is displayed:
scripts/Makefile.asm-generic:20: redundant generic-y found in arch/arm/include/asm/Kbuild: timex.h
I fixed up arch Kbuild files found by this.
Suggested-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/openrisc')
-rw-r--r-- | arch/openrisc/include/asm/Kbuild | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild index 1f04844b6b82..5a73e2956ac4 100644 --- a/arch/openrisc/include/asm/Kbuild +++ b/arch/openrisc/include/asm/Kbuild | |||
@@ -15,7 +15,6 @@ generic-y += fb.h | |||
15 | generic-y += ftrace.h | 15 | generic-y += ftrace.h |
16 | generic-y += hardirq.h | 16 | generic-y += hardirq.h |
17 | generic-y += hw_irq.h | 17 | generic-y += hw_irq.h |
18 | generic-y += irq.h | ||
19 | generic-y += irq_regs.h | 18 | generic-y += irq_regs.h |
20 | generic-y += irq_work.h | 19 | generic-y += irq_work.h |
21 | generic-y += kdebug.h | 20 | generic-y += kdebug.h |
@@ -35,7 +34,6 @@ generic-y += qrwlock.h | |||
35 | generic-y += sections.h | 34 | generic-y += sections.h |
36 | generic-y += segment.h | 35 | generic-y += segment.h |
37 | generic-y += shmparam.h | 36 | generic-y += shmparam.h |
38 | generic-y += string.h | ||
39 | generic-y += switch_to.h | 37 | generic-y += switch_to.h |
40 | generic-y += topology.h | 38 | generic-y += topology.h |
41 | generic-y += trace_clock.h | 39 | generic-y += trace_clock.h |