aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--include/common.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3f332e68856..9d7d8c269c8 100644
--- a/Makefile
+++ b/Makefile
@@ -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/
diff --git a/include/common.h b/include/common.h
index 89ae1d5c1d3..95db6624acb 100644
--- a/include/common.h
+++ b/include/common.h
@@ -122,10 +122,6 @@ int get_serial_clock(void);
/* 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))
/*