commit 92403a075407d74b2f95dca7561814f9312f96b3 Author: Jiri Slaby Date: Mon Jun 18 10:35:52 2007 +0200 rename Makefiles to Kbuilds diff --git a/ath/Kbuild b/ath/Kbuild new file mode 100644 index 0000000..808a66b --- /dev/null +++ b/ath/Kbuild @@ -0,0 +1,21 @@ +# +# Copyright (c) 2007 Jiri Slaby +# All rights reserved. +# +# This software may be distributed under the terms of the +# GNU General Public License ("GPL") version 2 as published by the Free +# Software Foundation. + +ifeq ($(strip $(BUS)),AHB) +EXTRA_CFLAGS += -DATH_AHB +bus=ath +else +EXTRA_CFLAGS += -DATH_PCI +bus=pci +endif + +obj-m += ath_$(bus).o +ath_ahb-objs := if_ath.o if_ath_ahb.o #radar.o +ath_pci-objs := if_ath.o if_ath_pci.o #radar.o + +EXTRA_CFLAGS += -I$(src)/../openhal diff --git a/ath/Makefile b/ath/Makefile deleted file mode 100644 index 808a66b..0000000 --- a/ath/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# -# Copyright (c) 2007 Jiri Slaby -# All rights reserved. -# -# This software may be distributed under the terms of the -# GNU General Public License ("GPL") version 2 as published by the Free -# Software Foundation. - -ifeq ($(strip $(BUS)),AHB) -EXTRA_CFLAGS += -DATH_AHB -bus=ath -else -EXTRA_CFLAGS += -DATH_PCI -bus=pci -endif - -obj-m += ath_$(bus).o -ath_ahb-objs := if_ath.o if_ath_ahb.o #radar.o -ath_pci-objs := if_ath.o if_ath_pci.o #radar.o - -EXTRA_CFLAGS += -I$(src)/../openhal diff --git a/openhal/Kbuild b/openhal/Kbuild new file mode 100644 index 0000000..9007072 --- /dev/null +++ b/openhal/Kbuild @@ -0,0 +1,2 @@ +obj-m += ath_hal.o +ath_hal-objs := ah_osdep.o ath5k_hw.o ieee80211_regdomain.o diff --git a/openhal/Makefile b/openhal/Makefile deleted file mode 100644 index 38bb7b8..0000000 --- a/openhal/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -obj-m += ath_hal.o -ath_hal-objs := ah_osdep.o ath5k_hw.o ieee80211_regdomain.o - -EXTRA_CFLAGS+=-DCONFIG_OPENHAL_COMPAT