diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:44:51 -0700 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2020-01-24 23:06:48 +0530 |
commit | 63b05da74d7a51735ea5e3e680074629dbcc295e (patch) | |
tree | e69b802d63be5505ddb1e0788bd94105093b4871 /Makefile | |
parent | ef20e5359bde42ad7e1aae8f0bf893dbca2ef2d0 (diff) | |
download | u-boot-63b05da74d7a51735ea5e3e680074629dbcc295e.tar.gz |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -763,7 +763,9 @@ libs-y += cmd/ libs-y += common/ libs-y += env/ 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_UT_ENV) += test/env/ libs-$(CONFIG_UT_OPTEE) += test/optee/ |