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>
Showing
- Makefile 1 addition, 9 deletionsMakefile
- include/common.h 11 additions, 0 deletionsinclude/common.h
- post/Makefile 43 additions, 4 deletionspost/Makefile
- post/board/lwmon5/Makefile 2 additions, 1 deletionpost/board/lwmon5/Makefile
- post/cpu/ppc4xx/Makefile 3 additions, 2 deletionspost/cpu/ppc4xx/Makefile
- post/drivers/Makefile 2 additions, 4 deletionspost/drivers/Makefile
- post/lib_ppc/Makefile 5 additions, 6 deletionspost/lib_ppc/Makefile
- post/lib_ppc/fpu/Makefile 3 additions, 3 deletionspost/lib_ppc/fpu/Makefile
- post/rules.mk 2 additions, 0 deletionspost/rules.mk
Loading
Please register or sign in to comment