diff gsm-fw/bsp/abb+spi/Makefile @ 590:05342cadbaf1

gsm-fw/bsp/abb+spi: abb_core_inth.c compiles with L1 enabled
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 17 Aug 2014 03:28:56 +0000
parents e48ea5875df7
children 6fd70825db76
line wrap: on
line diff
--- a/gsm-fw/bsp/abb+spi/Makefile	Sun Aug 17 00:56:26 2014 +0000
+++ b/gsm-fw/bsp/abb+spi/Makefile	Sun Aug 17 03:28:56 2014 +0000
@@ -2,8 +2,14 @@
 CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
 LD=	arm-elf-ld
 
+sinclude ../../include/config.mk
+
 OBJS=	abb.o spi_api.o spi_drv.o spi_env.o spi_process.o spi_task.o
 
+ifeq (${CONFIG_INCLUDE_L1},1)
+OBJS+=	abb_core_inth.o
+endif
+
 HDRS=	abb.h abb_core_inth.h abb_inline.h abb_inth.h spi_api.h spi_drv.h \
 	spi_env.h spi_pool_size.h spi_process.h spi_task.h