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 <[email protected]>

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/


_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to