]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - Makefile
cmd: Make most commands depend on CMDLINE
[thirdparty/u-boot.git] / Makefile
index 08604ed3c7a5d26174ff2d8d745d350f73879fec..bedcef4b9a4a03a6421edd8dda9e47410a7b0e9f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -851,7 +851,7 @@ HAVE_VENDOR_COMMON_LIB = $(if $(wildcard $(srctree)/board/$(VENDOR)/common/Makef
 libs-$(CONFIG_API) += api/
 libs-$(HAVE_VENDOR_COMMON_LIB) += board/$(VENDOR)/common/
 libs-y += boot/
-libs-y += cmd/
+libs-$(CONFIG_CMDLINE) += cmd/
 libs-y += common/
 libs-$(CONFIG_OF_EMBED) += dts/
 libs-y += env/