mirror of
https://github.com/proski/madwifi
synced 2024-11-24 23:40:00 +03:00
Fix ARCH calculation for PowerPC in Linux 2.6.28 and newer
If $(KERNELPATH)/arch/ppc is missing, ARCH should be "powerpc", not "ppc". CONFIG_PPC_MERGE disappeared in Linux 2.6.28. git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3935 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
373a4b7e68
commit
94e68b9e49
@ -43,6 +43,12 @@ ARCH-y = $(ARCH)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq (ppc,$(ARCH-y))
|
||||
ifeq (,$(wildcard $(KERNELPATH)/arch/ppc))
|
||||
ARCH-y = powerpc
|
||||
endif
|
||||
endif
|
||||
|
||||
# Don't allow ARCH to be overridden by a different value.
|
||||
ifeq (,$(ARCH))
|
||||
ARCH = $(ARCH-y)
|
||||
|
Loading…
Reference in New Issue
Block a user