POST: move CONFIG_POST to Makefiles
authorYuri Tikhonov <yur@emcraft.com>
Mon, 31 Mar 2008 08:51:37 +0000 (10:51 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 22 Apr 2008 12:40:19 +0000 (14:40 +0200)
commit2d2b994a30bb100774dc747ae9865b7f95285a88
treeab0325bd8261b84fa1101b0a47c058fd5fbb215d
parent0a51e9248e2d27e0a02ef1e740c576ce90a39ee1
POST: move CONFIG_POST to Makefiles

Introduce the new logical option CONFIG_HAS_POST which is set when the
platform has CONFIG_POST set. Use CONFIG_HAS_POST in the post/ Makefiles
to determine should the POST libs be compiled for the selected target
platform, or not.

To avoid breaking u-boot linking process, the empty post/libpost.a file is
created for platforms which do not have POSTs.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Makefile
include/common.h
post/Makefile
post/board/lwmon5/Makefile
post/cpu/ppc4xx/Makefile
post/drivers/Makefile
post/lib_ppc/Makefile
post/lib_ppc/fpu/Makefile
post/rules.mk