[flashrom] [PATCH] Override incompatible CONFIG_FOO for DOS

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Sat Jun 5 00:06:14 CEST 2010


Override incompatible CONFIG_FOO settings for DOS. This allows you to
specify CONFIG_FOO=yes for all drivers and still get only those which
compile under DOS.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

Index: flashrom-dos_override_incompatible_config_foo/Makefile
===================================================================
--- flashrom-dos_override_incompatible_config_foo/Makefile	(Revision 1031)
+++ flashrom-dos_override_incompatible_config_foo/Makefile	(Arbeitskopie)
@@ -50,9 +50,12 @@
 endif
 ifeq ($(OS_ARCH), DOS)
 CPPFLAGS += -I../libgetopt -I../libpci/include
-# Bus Pirate and Serprog are not supported under DOS.
-CONFIG_BUSPIRATE_SPI = no
-CONFIG_SERPROG = no
+# Bus Pirate and Serprog are not supported under DOS (missing serial support).
+override CONFIG_BUSPIRATE_SPI = no
+override CONFIG_SERPROG = no
+# Dediprog and FT2232 are not supported under DOS (missing USB support).
+override CONFIG_DEDIPROG = no
+override CONFIG_FT2232_SPI = no
 endif
 
 CHIP_OBJS = jedec.o stm50flw0x0x.o w39v040c.o w39v080fa.o w29ee011.o \


-- 
http://www.hailfinger.org/





More information about the flashrom mailing list