]> git.ipfire.org Git - people/ms/u-boot.git/commit - Makefile
kbuild: change the top Makefile to more Kbuild-ish structure
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 4 Feb 2014 08:24:35 +0000 (17:24 +0900)
committerTom Rini <trini@ti.com>
Wed, 19 Feb 2014 16:07:51 +0000 (11:07 -0500)
commit433b2f1e5a837426b3269a83a81bc572c3beaf75
treef2d09fea6772fc5598ac9ec4946de25bb9ddd4c0
parent7390643f7b5b1e37e28f11e782e30958485fbaf5
kbuild: change the top Makefile to more Kbuild-ish structure

This commit changes the top Makefile to handle various targets
nicely.
Make targets are divided into four categories:

 - mixed-targets
     We can call a configuration target and build targets
     at one command line like follows:
     $ make <board_name>_config u-boot

     They are handled one by one.

 - config targets
     <board_name>_config

 - no-dot-config-targets
     Targets we can run without board configuration such as
       clean, mrproper, distclean, TAGS, %docs, etc.

 - build targets
     The other target which need board configuration.

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