summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@google.com>2012-02-13 00:35:35 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2012-02-13 00:35:35 +0000
commitb286da7ffc0dd978bb6efe4530c3e904b57c4aca (patch)
tree95734984a923e7da1c7e20d39c5202a6a715e703 /Makefile
parentbfd89a56353286d6ff393110b590448aa9c39669 (diff)
downloadast2050-flashrom-b286da7ffc0dd978bb6efe4530c3e904b57c4aca.zip
ast2050-flashrom-b286da7ffc0dd978bb6efe4530c3e904b57c4aca.tar.gz
Support compilation for the ARM architecture (little-endian only)
Note: The internal programmer will abort during processor check. This is intentional. The other hardware drivers (except those using port I/O) should work. Corresponding to flashrom svn r1492. Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: David Hendricks <dhendrix@google.com> Tested-by: Timo Juhani Lindfors <timo.lindfors@iki.fi> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 83aa038..34c1326 100644
--- a/Makefile
+++ b/Makefile
@@ -215,8 +215,9 @@ endif
# below uses CC itself.
override ARCH := $(strip $(shell LC_ALL=C $(CC) $(CPPFLAGS) -E arch.h 2>/dev/null | grep -v '^\#' | grep '"' | cut -f 2 -d'"'))
-ifeq ($(ARCH), ppc)
-# There's no PCI port I/O support on PPC/PowerPC, yet.
+# PCI port I/O support is unimplemented on PPC/MIPS and unavailable on ARM.
+# Right now this means the drivers below only work on x86.
+ifneq ($(ARCH), x86)
ifeq ($(CONFIG_NIC3COM), yes)
UNSUPPORTED_FEATURES += CONFIG_NIC3COM=yes
else
OpenPOWER on IntegriCloud