summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-11-23 19:20:11 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-11-23 19:20:11 +0000
commite51ea10a8889544b942d3490bb721f160fe09517 (patch)
treece82d190a42e73f31bf764e9f81e24f567cdca2d /Makefile
parenteaac68bf8be13ff4cfe2b58119c766357a37d417 (diff)
downloadflashrom-e51ea10a8889544b942d3490bb721f160fe09517.tar.gz
flashrom-e51ea10a8889544b942d3490bb721f160fe09517.tar.bz2
flashrom-e51ea10a8889544b942d3490bb721f160fe09517.zip
Move serial handling from serprog.c to serial.c
This is the first step in enabling platform independent serprog and it also allows other drivers to use serial port functionality without requiring serprog. Pure code move, no code changed. Corresponding to flashrom svn r771. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fbe9f0b0f..e12b7accd 100644
--- a/Makefile
+++ b/Makefile
@@ -138,6 +138,10 @@ FEATURE_CFLAGS += -D'DRKAISER_SUPPORT=1'
OBJS += drkaiser.o
endif
+ifeq ($(CONFIG_SERPROG), yes)
+OBJS += serial.o
+endif
+
ifeq ($(CONFIG_PRINT_WIKI), yes)
FEATURE_CFLAGS += -D'PRINT_WIKI_SUPPORT=1'
OBJS += print_wiki.o