summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>2011-07-13 05:11:09 +0000
committerWolfgang Denk <wd@denx.de>2011-07-26 14:44:42 +0200
commit525728b41468c7b7155ad6d9b763d9a11a7cc737 (patch)
tree1808fe1ae70af5b08b3a75fecbae26909b4ea4dc /spl
parentefcc6096d6d8ba6afff69a7510b0078f9bd02629 (diff)
spl: add support for omap-common libraries
Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Diffstat (limited to 'spl')
-rw-r--r--spl/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 0a916bc41b8..0204f973493 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)))