summaryrefslogtreecommitdiff
path: root/cmd/x86/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/x86/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/x86/Makefile')
-rw-r--r--cmd/x86/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/x86/Makefile b/cmd/x86/Makefile
new file mode 100644
index 0000000000..d4c690b055
--- /dev/null
+++ b/cmd/x86/Makefile
@@ -0,0 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+obj-y += mtrr.o
+obj-$(CONFIG_HAVE_FSP) += fsp.o