]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - Makefile
post: descend only when CONFIG_HAS_POST is defined
[people/ms/u-boot.git] / Makefile
index b20a77a31f370ef78a030a863315d43b6b0d6e83..468b1bc605e8dc455e8039c3acd45f78aa2aa839 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -275,7 +275,7 @@ LIBS-y += drivers/usb/ulpi/
 LIBS-y += common/
 LIBS-y += lib/libfdt/
 LIBS-$(CONFIG_API) += api/
-LIBS-y += post/
+LIBS-$(CONFIG_HAS_POST) += post/
 LIBS-y += test/
 
 ifneq (,$(filter $(SOC), mx25 mx27 mx5 mx6 mx31 mx35 mxs vf610))