kbuild: Consolidate header generation from ASM offset information
authorMatthias Kaehlcke <mka@chromium.org>
Wed, 12 Apr 2017 19:43:52 +0000 (12:43 -0700)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 12 Apr 2017 20:43:37 +0000 (05:43 +0900)
commitebf003f0cfb3705e60d40dedc3ec949176c741af
tree38e55cfbac691e87fe377f11dac3b4d1fa285416
parent6748cb3c299de1ffbe56733647b01dbcc398c419
kbuild: Consolidate header generation from ASM offset information

Largely redundant code is used in different places to generate C headers
from offset information extracted from assembly language output.
Consolidate the code in Makefile.lib and use this instead.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Kbuild
arch/ia64/kernel/Makefile
scripts/Makefile.lib
scripts/mod/Makefile