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
commit30c2766204434b4680f939222d968674ed4633d1 (patch)
treece82d190a42e73f31bf764e9f81e24f567cdca2d /Makefile
parent47b2b7976b531c31abe93018688c5b106ea46d6f (diff)
downloadflashrom-30c2766204434b4680f939222d968674ed4633d1.zip
flashrom-30c2766204434b4680f939222d968674ed4633d1.tar.gz
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 fbe9f0b..e12b7ac 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
OpenPOWER on IntegriCloud