From 525728b41468c7b7155ad6d9b763d9a11a7cc737 Mon Sep 17 00:00:00 2001 From: Daniel Schwierzeck Date: Wed, 13 Jul 2011 05:11:09 +0000 Subject: [PATCH] spl: add support for omap-common libraries Signed-off-by: Aneesh V Signed-off-by: Daniel Schwierzeck --- spl/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spl/Makefile b/spl/Makefile index 0a916bc41b..0204f97349 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -47,6 +47,13 @@ LIBS-$(CONFIG_SPL_SPI_SUPPORT) += drivers/spi/libspi.o LIBS-$(CONFIG_SPL_FAT_SUPPORT) += fs/fat/libfat.o LIBS-$(CONFIG_SPL_LIBGENERIC_SUPPORT) += lib/libgeneric.o +ifeq ($(SOC),omap3) +LIBS-y += $(CPUDIR)/omap-common/libomap-common.o +endif +ifeq ($(SOC),omap4) +LIBS-y += $(CPUDIR)/omap-common/libomap-common.o +endif + START := $(addprefix $(SPLTREE)/,$(START)) LIBS := $(addprefix $(SPLTREE)/,$(sort $(LIBS-y))) -- 2.30.2