mirror of
https://github.com/proski/madwifi
synced 2024-11-21 22:11:32 +03:00
Adjust build system for Linux 2.6.26
During the second stage of the module build, Linux 2.6.26 does not define $(obj). Try using $(SUBDIRS) as $(obj) before falling back to the current directory. git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3603 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
32df5a67ce
commit
2913278884
5
Makefile
5
Makefile
@ -40,10 +40,7 @@
|
||||
# Makefile for the HAL-based Atheros driver.
|
||||
#
|
||||
|
||||
ifeq ($(obj),)
|
||||
obj= .
|
||||
endif
|
||||
|
||||
obj := $(firstword $(obj) $(SUBDIRS) .)
|
||||
TOP = $(obj)
|
||||
|
||||
ifneq (svnversion.h,$(MAKECMDGOALS))
|
||||
|
@ -40,10 +40,7 @@
|
||||
# Makefile for the Atheros WLAN driver.
|
||||
#
|
||||
|
||||
ifeq ($(obj),)
|
||||
obj= .
|
||||
endif
|
||||
|
||||
obj := $(firstword $(obj) $(SUBDIRS) .)
|
||||
TOP = $(obj)/..
|
||||
|
||||
ifeq ($(strip $(BUS)),AHB)
|
||||
|
@ -40,10 +40,7 @@
|
||||
# Makefile for the Atheros WLAN driver.
|
||||
#
|
||||
|
||||
ifeq ($(obj),)
|
||||
obj= .
|
||||
endif
|
||||
|
||||
obj := $(firstword $(obj) $(SUBDIRS) .)
|
||||
TOP = $(obj)/..
|
||||
|
||||
include $(TOP)/Makefile.inc
|
||||
|
@ -1,7 +1,4 @@
|
||||
ifeq ($(obj),)
|
||||
obj= .
|
||||
endif
|
||||
|
||||
obj := $(firstword $(obj) $(SUBDIRS) .)
|
||||
TOP = $(obj)/..
|
||||
|
||||
obj-y := amrr/ onoe/ sample/ minstrel/
|
||||
|
@ -40,10 +40,7 @@
|
||||
#
|
||||
# Makefile for the Atheros Rate Control Support.
|
||||
#
|
||||
ifeq ($(obj),)
|
||||
obj= .
|
||||
endif
|
||||
|
||||
obj := $(firstword $(obj) $(SUBDIRS) .)
|
||||
TOP = $(obj)/../..
|
||||
|
||||
obj-m += ath_rate_amrr.o
|
||||
|
@ -38,10 +38,7 @@
|
||||
#
|
||||
# Makefile for the Atheros Rate Control Support.
|
||||
#
|
||||
ifeq ($(obj),)
|
||||
obj= .
|
||||
endif
|
||||
|
||||
obj := $(firstword $(obj) $(SUBDIRS) .)
|
||||
TOP = $(obj)/../..
|
||||
|
||||
obj-m += ath_rate_minstrel.o
|
||||
|
@ -40,10 +40,7 @@
|
||||
#
|
||||
# Makefile for the Atheros Rate Control Support.
|
||||
#
|
||||
ifeq ($(obj),)
|
||||
obj= .
|
||||
endif
|
||||
|
||||
obj := $(firstword $(obj) $(SUBDIRS) .)
|
||||
TOP = $(obj)/../..
|
||||
|
||||
obj-m += ath_rate_onoe.o
|
||||
|
@ -38,10 +38,7 @@
|
||||
#
|
||||
# Makefile for the Atheros Rate Control Support.
|
||||
#
|
||||
ifeq ($(obj),)
|
||||
obj= .
|
||||
endif
|
||||
|
||||
obj := $(firstword $(obj) $(SUBDIRS) .)
|
||||
TOP = $(obj)/../..
|
||||
|
||||
obj-m += ath_rate_sample.o
|
||||
|
@ -39,10 +39,7 @@
|
||||
#
|
||||
# Makefile for the 802.11 WLAN modules.
|
||||
#
|
||||
ifeq ($(obj),)
|
||||
obj= .
|
||||
endif
|
||||
|
||||
obj := $(firstword $(obj) $(SUBDIRS) .)
|
||||
TOP = $(obj)/..
|
||||
#
|
||||
# There is one authenticator mechanism: an in-kernel implementation
|
||||
|
@ -1,7 +1,4 @@
|
||||
ifeq ($(obj),)
|
||||
obj= .
|
||||
endif
|
||||
|
||||
obj := $(firstword $(obj) $(SUBDIRS) .)
|
||||
TOP = $(obj)/..
|
||||
|
||||
obj-y := ccmp/ tkip/ wep/
|
||||
|
@ -1,10 +1,7 @@
|
||||
#
|
||||
# Makefile for the CCMP regression test.
|
||||
#
|
||||
ifeq ($(obj),)
|
||||
obj= .
|
||||
endif
|
||||
|
||||
obj := $(firstword $(obj) $(SUBDIRS) .)
|
||||
TOP = $(obj)/../..
|
||||
|
||||
obj-m += ath_test_ccmp.o
|
||||
|
@ -1,10 +1,7 @@
|
||||
#
|
||||
# Makefile for the TKIP regression test.
|
||||
#
|
||||
ifeq ($(obj),)
|
||||
obj= .
|
||||
endif
|
||||
|
||||
obj := $(firstword $(obj) $(SUBDIRS) .)
|
||||
TOP = $(obj)/../..
|
||||
|
||||
obj-m += ath_test_tkip.o
|
||||
|
@ -1,10 +1,7 @@
|
||||
#
|
||||
# Makefile for the WEP regression test.
|
||||
#
|
||||
ifeq ($(obj),)
|
||||
obj= .
|
||||
endif
|
||||
|
||||
obj := $(firstword $(obj) $(SUBDIRS) .)
|
||||
TOP = $(obj)/../..
|
||||
|
||||
obj-m += ath_test_wep.o
|
||||
|
Loading…
Reference in New Issue
Block a user