summaryrefslogtreecommitdiff
path: root/cmd/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-01-03 08:54:27 -0500
committerBin Meng <bmeng.cn@gmail.com>2018-01-08 16:52:22 +0800
commit8e18f34c28cad949710ffb781316bd2540b64de7 (patch)
tree7923f68abc02c999ad5a14d4c283ad7224ce1aa2 /cmd/Makefile
parentca833ca9579b29c5667ea2fa7a9d3f89f1599a94 (diff)
x86: Move commands from under arch/x86 to cmd/x86/
We only need to compile and link these files when building for full U-Boot. Move them to under cmd/x86/ to make sure they aren't linked in and undiscarded due to u_boot_list_2_cmd_* being included). Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'cmd/Makefile')
-rw-r--r--cmd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/Makefile b/cmd/Makefile
index 00e38696da..ab45bf434a 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -150,6 +150,8 @@ obj-$(CONFIG_CMD_PMIC) += pmic.o
obj-$(CONFIG_CMD_REGULATOR) += regulator.o
obj-$(CONFIG_CMD_BLOB) += blob.o
+
+obj-$(CONFIG_X86) += x86/
endif # !CONFIG_SPL_BUILD
# core command