diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-11-20 12:45:56 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-25 10:41:54 -0500 |
commit | ad420282e211cb5156691df0bcc7d9946bf4553c (patch) | |
tree | 3420a49a7e1c7bb53c2fbae741044cc98e4b676f /api | |
parent | 017ce20f46e38df5c7d795c1b5f042f00a614d2b (diff) | |
download | u-boot-imx-ad420282e211cb5156691df0bcc7d9946bf4553c.zip u-boot-imx-ad420282e211cb5156691df0bcc7d9946bf4553c.tar.gz u-boot-imx-ad420282e211cb5156691df0bcc7d9946bf4553c.tar.bz2 |
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>
Diffstat (limited to 'api')
-rw-r--r-- | api/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/Makefile b/api/Makefile index 0f85a0b..3c095ee 100644 --- a/api/Makefile +++ b/api/Makefile @@ -6,4 +6,4 @@ obj-y += api.o api_display.o api_net.o api_storage.o obj-$(CONFIG_ARM) += api_platform-arm.o -obj-$(CONFIG_PPC) += api_platform-powerpc.c +obj-$(CONFIG_PPC) += api_platform-powerpc.o |