kbuild: merge generic-asm-offsets.h and asm-offsets.h rules
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 27 Mar 2015 01:59:01 +0000 (10:59 +0900)
committerTom Rini <trini@konsulko.com>
Sat, 28 Mar 2015 13:03:09 +0000 (09:03 -0400)
commit490cf5f0c9edef119baa477a62f9f92188931a4f
treead8f72fe7e63466e319e3e147cff07f4538922df
parentd6c418e4b8036038505ac67bf5d85a19ca2c650d
kbuild: merge generic-asm-offsets.h and asm-offsets.h rules

The rules "cmd_generic-offsets" and "cmd_offsets" are almost the
same. (The difference is only the include guards.)
They can be merged.

This commit is mostly inspired by the following commit of Linux.

    commit 39664e2f3cdef98f42437e903159a6044a1d99d6
    Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
    Date:   Mon Jan 5 15:57:15 2015 +0900

        kbuild: merge bounds.h and asm-offsets.h rules

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Kbuild