lm3s: fix build bug in empty and kernel presets (lm3s_ssiOpen)
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 27 Aug 2010 15:27:36 +0000 (15:27 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 27 Aug 2010 15:27:36 +0000 (15:27 +0000)
From r3911 the LM3S SSI driver is not a distinct driver, and it is
supposed to be explicitly included by the user, at least until the
refactoring of the generic serial/spi/ssi module.

This causes build bugs in empty and kernel presets, triggering the
error: undefined reference to `lm3s_ssiOpen'.

As a temporary workaround, explicitly include the LM3S SSI driver into
the user's makefile for empty and kernel presets.

Signed-off-by: Andrea Righi <arighi@develer.com>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4194 38d2e660-2303-0410-9eaa-f027e97ec537

boards/ek-lm3s1968/templates/empty/empty_user.mk
boards/ek-lm3s1968/templates/kernel/kernel_user.mk

index 4c8ed7ef158ad99ba17d65403258db146f7d47b5..01feaf12e86eafed8606f30412f644a749ea39e7 100644 (file)
@@ -9,6 +9,7 @@ empty_PROGRAMMER_PORT = none
 
 # Files included by the user.
 empty_USER_CSRC = \
+       $(empty_SRC_PATH)/../bertos/cpu/cortex-m3/drv/ssi_lm3s.c \
        $(empty_SRC_PATH)/main.c \
        #
 
index 6dfb4d8c0e25df661941de4ea56e3cab51fb1d7c..88b1b4337d223d1ff427bfc07cf13f3c11dec2ef 100644 (file)
@@ -9,6 +9,7 @@ kernel_PROGRAMMER_PORT = none
 
 # Files included by the user.
 kernel_USER_CSRC = \
+       $(kernel_SRC_PATH)/../bertos/cpu/cortex-m3/drv/ssi_lm3s.c \
        $(kernel_SRC_PATH)/main.c \
        #