summaryrefslogtreecommitdiff
path: root/arch/x86/lib/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-11 07:40:13 +0000
committerTom Rini <trini@ti.com>2013-03-15 16:14:00 -0400
commite424c15c1f4ef8a084120f111d95da60676ba1cc (patch)
tree6e709c7576dc6a66c623d9784b22963d42e81f36 /arch/x86/lib/Makefile
parent86cfb6bdecc3a312a939bbd89560f500f45193c3 (diff)
x86: Enable generic board support
This enables generic board support so that x86 boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/lib/Makefile')
-rw-r--r--arch/x86/lib/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile
index 9b24dc5fdf..ee89354808 100644
--- a/arch/x86/lib/Makefile
+++ b/arch/x86/lib/Makefile
@@ -25,7 +25,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).o
+ifeq ($(CONFIG_SYS_GENERIC_BOARD),)
COBJS-y += board.o
+endif
+
COBJS-y += bootm.o
COBJS-y += cmd_boot.o
COBJS-y += gcc.o