| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |