[U-Boot] [PATCH v3 9/9] spl: add support for omap-common libraries

Daniel Schwierzeck daniel.schwierzeck at googlemail.com
Mon Jul 18 18:09:21 CEST 2011


Signed-off-by: Aneesh V <aneesh at ti.com>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck at googlemail.com>
---
Changes since RFC v1:
- none

 spl/Makefile |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/spl/Makefile b/spl/Makefile
index 6c36d6f..638aab7 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)))
 
-- 
1.7.6



More information about the U-Boot mailing list