OLD | NEW |
---|---|
1 # | 1 # |
2 # This file is part of the flashrom project. | 2 # This file is part of the flashrom project. |
3 # | 3 # |
4 # Copyright (C) 2005 coresystems GmbH <stepan@coresystems.de> | 4 # Copyright (C) 2005 coresystems GmbH <stepan@coresystems.de> |
5 # Copyright (C) 2009,2010 Carl-Daniel Hailfinger | 5 # Copyright (C) 2009,2010 Carl-Daniel Hailfinger |
6 # | 6 # |
7 # This program is free software; you can redistribute it and/or modify | 7 # This program is free software; you can redistribute it and/or modify |
8 # it under the terms of the GNU General Public License as published by | 8 # it under the terms of the GNU General Public License as published by |
9 # the Free Software Foundation; version 2 of the License. | 9 # the Free Software Foundation; version 2 of the License. |
10 # | 10 # |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
110 RELEASE := 0.9.3 | 110 RELEASE := 0.9.3 |
111 VERSION := $(RELEASE) $(SVNVERSION) | 111 VERSION := $(RELEASE) $(SVNVERSION) |
112 RELEASENAME ?= $(VERSION) | 112 RELEASENAME ?= $(VERSION) |
113 | 113 |
114 SVNDEF := -D'FLASHROM_VERSION="$(VERSION)"' | 114 SVNDEF := -D'FLASHROM_VERSION="$(VERSION)"' |
115 | 115 |
116 # Always enable internal/onboard support for now. | 116 # Always enable internal/onboard support for now. |
117 CONFIG_INTERNAL ?= yes | 117 CONFIG_INTERNAL ?= yes |
118 | 118 |
119 # Always enable serprog for now. Needs to be disabled on Windows. | 119 # Always enable serprog for now. Needs to be disabled on Windows. |
120 CONFIG_SERPROG ?= yes | 120 CONFIG_SERPROG ?= no |
Stefan Reinauer
2011/03/25 16:57:47
I think this should go into the ebuild instead. On
Louis
2011/03/29 07:55:02
Oooooops. David has committed this in CL 6732047.
| |
121 | 121 |
122 # RayeR SPIPGM hardware support | 122 # RayeR SPIPGM hardware support |
123 CONFIG_RAYER_SPI ?= yes | 123 CONFIG_RAYER_SPI ?= no |
124 | 124 |
125 # Always enable 3Com NICs for now. | 125 # Always enable 3Com NICs for now. |
126 CONFIG_NIC3COM ?= yes | 126 CONFIG_NIC3COM ?= no |
127 | 127 |
128 # Enable NVIDIA graphics cards. Note: write and erase do not work properly. | 128 # Enable NVIDIA graphics cards. Note: write and erase do not work properly. |
129 CONFIG_GFXNVIDIA ?= yes | 129 CONFIG_GFXNVIDIA ?= no |
130 | 130 |
131 # Always enable SiI SATA controllers for now. | 131 # Always enable SiI SATA controllers for now. |
132 CONFIG_SATASII ?= yes | 132 CONFIG_SATASII ?= no |
133 | 133 |
134 # Highpoint (HPT) ATA/RAID controller support. | 134 # Highpoint (HPT) ATA/RAID controller support. |
135 # IMPORTANT: This code is not yet working! | 135 # IMPORTANT: This code is not yet working! |
136 CONFIG_ATAHPT ?= no | 136 CONFIG_ATAHPT ?= no |
137 | 137 |
138 # Always enable FT2232 SPI dongles for now. | 138 # Always enable FT2232 SPI dongles for now. |
139 CONFIG_FT2232_SPI ?= yes | 139 CONFIG_FT2232_SPI ?= no |
140 | 140 |
141 # Always enable dummy tracing for now. | 141 # Always enable dummy tracing for now. |
142 CONFIG_DUMMY ?= yes | 142 CONFIG_DUMMY ?= yes |
143 | 143 |
144 # Always enable Dr. Kaiser for now. | 144 # Always enable Dr. Kaiser for now. |
145 CONFIG_DRKAISER ?= yes | 145 CONFIG_DRKAISER ?= no |
146 | 146 |
147 # Always enable Realtek NICs for now. | 147 # Always enable Realtek NICs for now. |
148 CONFIG_NICREALTEK ?= yes | 148 CONFIG_NICREALTEK ?= no |
149 | 149 |
150 # Disable National Semiconductor NICs until support is complete and tested. | 150 # Disable National Semiconductor NICs until support is complete and tested. |
151 CONFIG_NICNATSEMI ?= no | 151 CONFIG_NICNATSEMI ?= no |
152 | 152 |
153 # Always enable SPI on Intel NICs for now. | 153 # Always enable SPI on Intel NICs for now. |
154 CONFIG_NICINTEL_SPI ?= yes | 154 CONFIG_NICINTEL_SPI ?= no |
155 | 155 |
156 # Always enable SPI on OGP cards for now. | 156 # Always enable SPI on OGP cards for now. |
157 CONFIG_OGP_SPI ?= yes | 157 CONFIG_OGP_SPI ?= no |
158 | 158 |
159 # Always enable Bus Pirate SPI for now. | 159 # Always enable Bus Pirate SPI for now. |
160 CONFIG_BUSPIRATE_SPI ?= yes | 160 CONFIG_BUSPIRATE_SPI ?= no |
161 | 161 |
162 # Disable Dediprog SF100 until support is complete and tested. | 162 # Disable Dediprog SF100 until support is complete and tested. |
163 CONFIG_DEDIPROG ?= no | 163 CONFIG_DEDIPROG ?= no |
164 | 164 |
165 # Disable wiki printing by default. It is only useful if you have wiki access. | 165 # Disable wiki printing by default. It is only useful if you have wiki access. |
166 CONFIG_PRINT_WIKI ?= no | 166 CONFIG_PRINT_WIKI ?= no |
167 | 167 |
168 # Bitbanging SPI infrastructure, default off unless needed. | 168 # Bitbanging SPI infrastructure, default off unless needed. |
169 ifeq ($(CONFIG_RAYER_SPI), yes) | 169 ifeq ($(CONFIG_RAYER_SPI), yes) |
170 override CONFIG_BITBANG_SPI = yes | 170 override CONFIG_BITBANG_SPI = yes |
(...skipping 10 matching lines...) Expand all Loading... | |
181 CONFIG_BITBANG_SPI ?= no | 181 CONFIG_BITBANG_SPI ?= no |
182 endif | 182 endif |
183 endif | 183 endif |
184 endif | 184 endif |
185 endif | 185 endif |
186 | 186 |
187 ifeq ($(CONFIG_INTERNAL), yes) | 187 ifeq ($(CONFIG_INTERNAL), yes) |
188 FEATURE_CFLAGS += -D'CONFIG_INTERNAL=1' | 188 FEATURE_CFLAGS += -D'CONFIG_INTERNAL=1' |
189 PROGRAMMER_OBJS += processor_enable.o chipset_enable.o board_enable.o cbtable.o dmi.o internal.o | 189 PROGRAMMER_OBJS += processor_enable.o chipset_enable.o board_enable.o cbtable.o dmi.o internal.o |
190 # FIXME: The PROGRAMMER_OBJS below should only be included on x86. | 190 # FIXME: The PROGRAMMER_OBJS below should only be included on x86. |
191 # FIXME: unify XXXspi.o and XXX_spi.o naming conventions. spi/XXX.o? | |
191 PROGRAMMER_OBJS += it87spi.o it85spi.o ichspi.o sb600spi.o wbsio_spi.o mcp6x_spi .o | 192 PROGRAMMER_OBJS += it87spi.o it85spi.o ichspi.o sb600spi.o wbsio_spi.o mcp6x_spi .o |
193 # FIXME: The PROGRAMMER_OBJS below should only be included on ARM | |
194 PROGRAMMER_OBJS += tegra2_spi.o | |
192 NEED_PCI := yes | 195 NEED_PCI := yes |
193 endif | 196 endif |
194 | 197 |
195 ifeq ($(CONFIG_SERPROG), yes) | 198 ifeq ($(CONFIG_SERPROG), yes) |
196 FEATURE_CFLAGS += -D'CONFIG_SERPROG=1' | 199 FEATURE_CFLAGS += -D'CONFIG_SERPROG=1' |
197 PROGRAMMER_OBJS += serprog.o | 200 PROGRAMMER_OBJS += serprog.o |
198 NEED_SERIAL := yes | 201 NEED_SERIAL := yes |
199 NEED_NET := yes | 202 NEED_NET := yes |
200 endif | 203 endif |
201 | 204 |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
463 @tar cjf $(EXPORTDIR)/flashrom-$(RELEASENAME).tar.bz2 -C $(EXPORTDIR)/ $ (TAROPTIONS) flashrom-$(RELEASENAME)/ | 466 @tar cjf $(EXPORTDIR)/flashrom-$(RELEASENAME).tar.bz2 -C $(EXPORTDIR)/ $ (TAROPTIONS) flashrom-$(RELEASENAME)/ |
464 @rm -rf $(EXPORTDIR)/flashrom-$(RELEASENAME) | 467 @rm -rf $(EXPORTDIR)/flashrom-$(RELEASENAME) |
465 @echo Created $(EXPORTDIR)/flashrom-$(RELEASENAME).tar.bz2 | 468 @echo Created $(EXPORTDIR)/flashrom-$(RELEASENAME).tar.bz2 |
466 | 469 |
467 djgpp-dos: clean | 470 djgpp-dos: clean |
468 make CC=i586-pc-msdosdjgpp-gcc STRIP=i586-pc-msdosdjgpp-strip WARNERROR= no OS_ARCH=DOS | 471 make CC=i586-pc-msdosdjgpp-gcc STRIP=i586-pc-msdosdjgpp-strip WARNERROR= no OS_ARCH=DOS |
469 | 472 |
470 .PHONY: all clean distclean compiler pciutils features export tarball dos featur esavailable | 473 .PHONY: all clean distclean compiler pciutils features export tarball dos featur esavailable |
471 | 474 |
472 -include $(OBJS:.o=.d) | 475 -include $(OBJS:.o=.d) |
OLD | NEW |