Skip to content
Snippets Groups Projects
Commit 9029e3d9 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

madwifi: fix x86_64 compilation

SVN-Revision: 12574
parent 52bb4fac
No related branches found
No related tags found
No related merge requests found
--- a/scripts/get_arch.mk
+++ b/scripts/get_arch.mk
@@ -36,6 +36,13 @@
$(Cannot determine ARCH)
endif
+# Allow ARCH to be x86
+ifneq (,$(CONFIG_X86))
+ifeq (x86,$(ARCH))
+ARCH-y = $(ARCH)
+endif
+endif
+
# Don't allow ARCH to be overridden by a different value.
ifeq (,$(ARCH))
ARCH = $(ARCH-y)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment