diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | arch/arm/cpu/armv7/omap-common/Makefile | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -289,6 +289,9 @@ LIBS += lib/libfdt/libfdt.o LIBS += api/libapi.o LIBS += post/libpost.o +ifeq ($(SOC),am33xx) +LIBS += $(CPUDIR)/omap-common/libomap-common.o +endif ifeq ($(SOC),omap3) LIBS += $(CPUDIR)/omap-common/libomap-common.o endif diff --git a/arch/arm/cpu/armv7/omap-common/Makefile b/arch/arm/cpu/armv7/omap-common/Makefile index 0b96b47..1dee81f 100644 --- a/arch/arm/cpu/armv7/omap-common/Makefile +++ b/arch/arm/cpu/armv7/omap-common/Makefile @@ -29,7 +29,9 @@ SOBJS := reset.o COBJS := timer.o COBJS += utils.o +ifdef CONFIG_OMAP COBJS += gpio.o +endif ifdef CONFIG_SPL_BUILD COBJS += spl.o |