post: descend only when CONFIG_HAS_POST is definedAll objects under post/ directory are enabled by CONFIG_HAS_POST.(post/tests.o is enabled by CONFIG_POST_STD_LIST.But CONFIG_POST_STD_LIST depend
post: descend only when CONFIG_HAS_POST is definedAll objects under post/ directory are enabled by CONFIG_HAS_POST.(post/tests.o is enabled by CONFIG_POST_STD_LIST.But CONFIG_POST_STD_LIST depends on CONFIG_HAS_POST.)We can move CONFIG_HAS_POST switch to the top Makefile.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
post: remove unnecessary include path settingsSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
post: convert makefiles to Kbuild styleThis commit also deletes post/rules.mk,which in not necessary any more.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Add GPL-2.0+ SPDX-License-Identifier to source filesSigned-off-by: Wolfgang Denk <wd@denx.de>[trini: Fixup common/cmd_io.c]Signed-off-by: Tom Rini <trini@ti.com>
Switch from archive libraries to partial linkingBefore this commit, weak symbols were not overridden by non-weak symbolsfound in archive libraries when linking with recent versions ofbinutils. A
Switch from archive libraries to partial linkingBefore this commit, weak symbols were not overridden by non-weak symbolsfound in archive libraries when linking with recent versions ofbinutils. As stated in the System V ABI, "the link editor does notextract archive members to resolve undefined weak symbols".This commit changes all Makefiles to use partial linking (ld -r) insteadof creating library archives, which forces all symbols to participate inlinking, allowing non-weak symbols to override weak symbols as intended.This approach is also used by Linux, from which the gmake functioncmd_link_o_target (defined in config.mk and used in all Makefiles) isinspired.The name of each former library archive is preserved except forextensions which change from ".a" to ".o". This commit updatesreferences accordingly where needed, in particular in some linkerscripts.This commit reveals board configurations that exclude some features butinclude source files that depend these disabled features in the build,resulting in undefined symbols. Known such cases include:- disabling CMD_NET but not CMD_NFS;- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.Signed-off-by: Sebastien Carlier <sebastien.carlier@gmail.com>
POST: Added ECC memory test for mpc83xx.Signed-off-by: Michael Zaidman <michael.zaidman@gmail.com>Fixed minor coding style issue.Signed-off-by: Wolfgang Denk <wd@denx.de>