]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Makefile: descend into subdirectories only when CONFIG_API is defined
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 18 Nov 2013 02:08:35 +0000 (11:08 +0900)
committerTom Rini <trini@ti.com>
Mon, 25 Nov 2013 15:41:53 +0000 (10:41 -0500)
commit8a7e7d5697a8b14ec02731d003bed89b1c54dfb7
treec6c8656dcdcb4026f8b779075e96542b164e1667
parentfdb87049d861d92093b382622c9e528405c727f9
Makefile: descend into subdirectories only when CONFIG_API is defined

All objects under api/ and examples/api/ directories are selected
by CONFIG_API.
So we can move CONFIG_API switch to the top Makefile.

In order to use CONFIG_API, the definition of SUBDIR_EXAMPLES-y
must be moved after "sinlude $(obj)include/autoconf.mk".

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