mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 00:20:44 +09:00
common: Drop CONFIG_HAS_POST
This only exists to control whether the post/ directory is build. It is just as easy to check this in the Makefile. Remove CONFIG_HAS_POST and use an ifdef in the Makefile instead. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
ef20e5359b
commit
63b05da74d
4
Makefile
4
Makefile
@ -763,7 +763,9 @@ libs-y += cmd/
|
|||||||
libs-y += common/
|
libs-y += common/
|
||||||
libs-y += env/
|
libs-y += env/
|
||||||
libs-$(CONFIG_API) += api/
|
libs-$(CONFIG_API) += api/
|
||||||
libs-$(CONFIG_HAS_POST) += post/
|
ifdef CONFIG_POST
|
||||||
|
libs-y += post/
|
||||||
|
endif
|
||||||
libs-$(CONFIG_UNIT_TEST) += test/ test/dm/
|
libs-$(CONFIG_UNIT_TEST) += test/ test/dm/
|
||||||
libs-$(CONFIG_UT_ENV) += test/env/
|
libs-$(CONFIG_UT_ENV) += test/env/
|
||||||
libs-$(CONFIG_UT_OPTEE) += test/optee/
|
libs-$(CONFIG_UT_OPTEE) += test/optee/
|
||||||
|
@ -122,10 +122,6 @@ int get_serial_clock(void);
|
|||||||
|
|
||||||
/* Put only stuff here that the assembler can digest */
|
/* Put only stuff here that the assembler can digest */
|
||||||
|
|
||||||
#ifdef CONFIG_POST
|
|
||||||
#define CONFIG_HAS_POST
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define ROUND(a,b) (((a) + (b) - 1) & ~((b) - 1))
|
#define ROUND(a,b) (((a) + (b) - 1) & ~((b) - 1))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user