kbuild: generate {spl, tpl}-autoconf.mk only when it is necessary
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 4 Feb 2014 08:24:33 +0000 (17:24 +0900)
committerTom Rini <trini@ti.com>
Wed, 19 Feb 2014 16:07:51 +0000 (11:07 -0500)
commit5fe6301a6ddac6b3b74e5d9aae9e28f6f264e799
tree0ff8c538b3133ddddc1263b5c3a4c32f125e1126
parent01072b44db66d31dc397ccccd1bf8ccf98e39094
kbuild: generate {spl, tpl}-autoconf.mk only when it is necessary

Before this commit, {spl,tpl}-autoconf.mk was always generated
at the top Makefile even if SPL(TPL) build was not selected.

This commit moves the build rule of {spl,tpl}-autoconf.mk
from the top Makefile to spl/Makefile.
It prevents unnecessary {spl,tpl}-autoconf.mk from being
generated.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Makefile
spl/Makefile