Changeset 1747

Show
Ignore:
Timestamp:
09/28/06 05:06:53 (2 years ago)
Author:
proski
Message:

Introduce TOP, clean up kernel makefiles

Introduce TOP to point to the top of the integrated MadWifi sources.
Copy includes from each Makefile to the corresponding Makefile.kernel.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ath/Makefile.kernel

    r1744 r1747  
    77srctree ?= . 
    88 
    9 include $(srctree)/$(src)/../BuildCaps.inc 
    10 include $(srctree)/$(src)/../ath_hal/ah_target.inc 
     9TOP = $(srctree)/$(src)/.. 
    1110 
    12 ATH_HAL=$(srctree)/$(src)/../ath_hal 
    13 HAL=    $(srctree)/$(src)/../hal 
    14 WLAN=   $(srctree)/$(src)/../net80211 
    15 COMPAT= $(srctree)/$(src)/../include 
     11include $(TOP)/BuildCaps.inc 
     12include $(TOP)/ath_hal/ah_target.inc 
     13 
     14ATH_HAL=$(TOP)/ath_hal 
     15HAL=    $(TOP)/hal 
     16WLAN=   $(TOP)/net80211 
     17COMPAT= $(TOP)/include 
    1618 
    1719# 
     
    2628endif 
    2729 
    28 INCS = -include $(COMPAT)/compat.h -I$(COMPAT) -I$(ATH_HAL) -I$(HAL) \ 
    29        -I$(WLAN) -I$(src)/.. -I$(src
     30INCS = -include $(COMPAT)/compat.h -I$(COMPAT) 
     31INCS += -I$(TOP) -I$(ATH_HAL) -I$(HAL) -I$(WLAN
    3032 
    3133EXTRA_CFLAGS += $(INCS) -DOPT_AH_H=\"$(HAL)/public/$(TARGET).opt_ah.h\" 
  • trunk/ath_hal/Makefile.kernel

    r1742 r1747  
    77srctree ?= . 
    88 
    9 include $(srctree)/$(src)/../BuildCaps.inc 
    10 include $(srctree)/$(src)/../ath_hal/ah_target.inc 
     9TOP = $(srctree)/$(src)/.. 
    1110 
    12 HAL=    $(srctree)/$(src)/../hal 
    13 WLAN=   $(srctree)/$(src)/../net80211 
    14 COMPAT= $(srctree)/$(src)/../include 
     11include $(TOP)/BuildCaps.inc 
     12include $(TOP)/ath_hal/ah_target.inc 
    1513 
    16 INCS = -include $(COMPAT)/compat.h -I$(COMPAT) -I$(HAL) \ 
    17         -I$(WLAN) -I$(src)/.. -I$(src) 
     14ATH_HAL=$(TOP)/ath_hal 
     15COMPAT= $(TOP)/include 
     16HAL=    $(TOP)/hal 
     17 
     18INCS = -include $(COMPAT)/compat.h -I$(COMPAT) 
     19INCS += -I$(ATH_HAL) -I$(HAL) 
    1820 
    1921EXTRA_CFLAGS += $(INCS) -DOPT_AH_H=\"$(HAL)/public/$(TARGET).opt_ah.h\" 
  • trunk/ath_rate/amrr/Makefile.kernel

    r1738 r1747  
    88srctree ?= . 
    99 
    10 include $(srctree)/$(src)/../../BuildCaps.inc 
     10TOP = $(srctree)/$(src)/../.. 
    1111 
    12 ATH_HAL=$(srctree)/$(src)/../../ath_hal 
    13 HAL=    $(srctree)/$(src)/../../hal 
    14 ATH=    $(srctree)/$(src)/../../ath 
    15 WLAN=   $(srctree)/$(src)/../../net80211 
    16 COMPAT= $(srctree)/$(src)/../../include 
     12include $(TOP)/BuildCaps.inc 
    1713 
    18 INCS=   -include $(COMPAT)/compat.h -I$(COMPAT) 
    19 EXTRA_CFLAGS+=  $(INCS) -I$(HAL) -I$(ATH_HAL) -I$(ATH) -I$(WLAN) -I$(src)/../.. 
     14ATH=    $(TOP)/ath 
     15ATH_HAL=$(TOP)/ath_hal 
     16COMPAT= $(TOP)/include 
     17HAL=    $(TOP)/hal 
     18 
     19INCS = -include $(COMPAT)/compat.h -I$(COMPAT) 
     20INCS += -I$(TOP) -I$(ATH) -I$(ATH_HAL) -I$(HAL) 
     21EXTRA_CFLAGS += $(INCS) 
    2022 
    2123ifdef LINUX26 
  • trunk/ath_rate/onoe/Makefile.kernel

    r1738 r1747  
    88srctree ?= . 
    99 
    10 include $(srctree)/$(src)/../../BuildCaps.inc 
     10TOP = $(srctree)/$(src)/../.. 
    1111 
    12 ATH_HAL=$(srctree)/$(src)/../../ath_hal 
    13 HAL=    $(srctree)/$(src)/../../hal 
    14 ATH=    $(srctree)/$(src)/../../ath 
    15 WLAN=   $(srctree)/$(src)/../../net80211 
    16 COMPAT= $(srctree)/$(src)/../../include 
     12include $(TOP)/BuildCaps.inc 
    1713 
    18 INCS=   -include $(COMPAT)/compat.h -I$(COMPAT) 
    19 EXTRA_CFLAGS+=  $(INCS) -I$(HAL) -I$(ATH_HAL) -I$(ATH) -I$(WLAN) -I$(src)/../.. 
     14ATH=    $(TOP)/ath 
     15ATH_HAL=$(TOP)/ath_hal 
     16COMPAT= $(TOP)/include 
     17HAL=    $(TOP)/hal 
     18 
     19INCS = -include $(COMPAT)/compat.h -I$(COMPAT) 
     20INCS += -I$(TOP) -I$(ATH) -I$(ATH_HAL) -I$(HAL) 
     21EXTRA_CFLAGS += $(INCS) 
    2022 
    2123ifdef LINUX26 
  • trunk/ath_rate/sample/Makefile.kernel

    r1738 r1747  
    88srctree ?= . 
    99 
    10 include $(srctree)/$(src)/../../BuildCaps.inc 
     10TOP = $(srctree)/$(src)/../.. 
    1111 
    12 ATH_HAL=$(srctree)/$(src)/../../ath_hal 
    13 HAL=    $(srctree)/$(src)/../../hal 
    14 ATH=    $(srctree)/$(src)/../../ath 
    15 WLAN=   $(srctree)/$(src)/../../net80211 
    16 COMPAT= $(srctree)/$(src)/../../include 
     12include $(TOP)/BuildCaps.inc 
    1713 
    18 INCS=   -include $(COMPAT)/compat.h -I$(COMPAT) 
    19 EXTRA_CFLAGS+=  $(INCS) -I$(HAL) -I$(ATH_HAL) -I$(ATH) -I$(WLAN) -I$(src)/../.. 
     14ATH=    $(TOP)/ath 
     15ATH_HAL=$(TOP)/ath_hal 
     16COMPAT= $(TOP)/include 
     17HAL=    $(TOP)/hal 
     18 
     19INCS = -include $(COMPAT)/compat.h -I$(COMPAT) 
     20INCS += -I$(TOP) -I$(ATH) -I$(ATH_HAL) -I$(HAL) 
     21EXTRA_CFLAGS += $(INCS) 
    2022 
    2123ifdef LINUX26 
  • trunk/net80211/Makefile.kernel

    r1738 r1747  
    66srctree ?= . 
    77 
    8 include $(srctree)/$(src)/../BuildCaps.inc 
     8TOP = $(srctree)/$(src)/.. 
    99 
    10 COMPAT = $(srctree)/$(src)/../include 
     10include $(TOP)/BuildCaps.inc 
    1111 
    12 ATH_HAL = $(srctree)/$(src)/../ath_hal 
    13 HAL = $(srctree)/$(src)/../hal 
     12COMPAT = $(TOP)/include 
    1413 
    15 EXTRA_CFLAGS+=  -include $(COMPAT)/compat.h -I$(COMPAT) -I$(src)/.. \ 
    16         -I$(HAL) -I$(ATH_HAL) 
     14ATH_HAL = $(TOP)/ath_hal 
     15HAL = $(TOP)/hal 
     16 
     17INCS = -include $(COMPAT)/compat.h -I$(COMPAT) 
     18INCS += -I$(TOP) -I$(ATH_HAL) -I$(HAL) 
     19EXTRA_CFLAGS += $(INCS) 
    1720 
    1821#