📄 get_arch.mk
字号:
# Calculate ARCH based on the included Linux .config file. This should# cover all architectures supported by Linux 2.4 and 2.6 whether they# are supported by MadWifi or not. Note that more specific entries must# follow less specific ones, e.g. CONFIG_X86_64 overrides CONFIG_X86.ARCH-$(CONFIG_ALPHA) = alphaARCH-$(CONFIG_ARM) = armARCH-$(CONFIG_ARM26) = arm26ARCH-$(CONFIG_CRIS) = crisARCH-$(CONFIG_FRV) = frvARCH-$(CONFIG_H8300) = h8300ARCH-$(CONFIG_X86) = i386ARCH-$(CONFIG_IA64) = ia64ARCH-$(CONFIG_M32R) = m32rARCH-$(CONFIG_M68K) = m68kARCH-$(CONFIG_M68KNOMMU) = m68knommuARCH-$(CONFIG_MIPS) = mipsARCH-$(CONFIG_MIPS64) = mips64ARCH-$(CONFIG_PARISC) = pariscARCH-$(CONFIG_PPC) = ppcARCH-$(CONFIG_PPC64) = ppc64ARCH-$(CONFIG_PPC_MERGE) = powerpcARCH-$(CONFIG_ARCH-S390) = s390ARCH-$(CONFIG_ARCH-S390X) = s390xARCH-$(CONFIG_SUPERH) = shARCH-$(CONFIG_CPU_SH5) = sh64ARCH-$(CONFIG_SUPERH64) = sh64ARCH-$(CONFIG_SPARC32) = sparcARCH-$(CONFIG_SPARC64) = sparc64ARCH-$(CONFIG_UML) = umARCH-$(CONFIG_V850) = v850ARCH-$(CONFIG_X86_64) = x86_64ARCH-$(CONFIG_XTENSA) = xtensaifeq (,$(ARCH-y))$(Cannot determine ARCH)endif# Allow ARCH to be x86ifneq (,$(CONFIG_X86))ifeq (x86,$(ARCH))ARCH-y = $(ARCH)endifendif# Don't allow ARCH to be overridden by a different value.ifeq (,$(ARCH))ARCH = $(ARCH-y)elseifneq ($(ARCH),$(ARCH-y))$(error ARCH mismatch: supplied "$(ARCH)", determined "$(ARCH-y)")endifendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -