]> git.sur5r.net Git - u-boot/commit
Makefile: descend into subdirectories only when CONFIG_API is defined
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 20 Nov 2013 03:45:56 +0000 (12:45 +0900)
committerTom Rini <trini@ti.com>
Mon, 25 Nov 2013 15:41:54 +0000 (10:41 -0500)
commitad420282e211cb5156691df0bcc7d9946bf4553c
tree3420a49a7e1c7bb53c2fbae741044cc98e4b676f
parent017ce20f46e38df5c7d795c1b5f042f00a614d2b
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>
api/Makefile