summaryrefslogtreecommitdiff
path: root/board/ti/am335x/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/am335x/Makefile')
-rw-r--r--board/ti/am335x/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/am335x/Makefile b/board/ti/am335x/Makefile
index cb2b999025..3dbeedab1a 100644
--- a/board/ti/am335x/Makefile
+++ b/board/ti/am335x/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
-ifdef CONFIG_SPL_BUILD
+ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_NOR_BOOT),y)
COBJS := mux.o
endif