[Madwifi-cvs] revision 3061 committed
Status: Beta
Brought to you by:
otaku
From: Pavel R. <svn...@ma...> - 2007-12-14 06:40:30
|
Project : madwifi Revision : 3061 Author : proski (Pavel Roskin) Date : 2007-12-14 07:40:22 +0100 (Fri, 14 Dec 2007) Log Message : Eliminate DIRS_MODULES DIRS_MODULES is always used in the context when the Makefile is processed directly, not from the kernel build system. Therefore, it's equivalent to obj-y. Reference: r2986 Affected Files: * madwifi/releases/0.9.4/Makefile updated Modified: madwifi/releases/0.9.4/Makefile =================================================================== --- madwifi/releases/0.9.4/Makefile 2007-12-14 06:36:03 UTC (rev 3060) +++ madwifi/releases/0.9.4/Makefile 2007-12-14 06:40:22 UTC (rev 3061) @@ -50,15 +50,13 @@ include $(TOP)/Makefile.inc endif -DIRS_MODULES = $(ATH) $(ATH_HAL) $(ATH_RATE) $(WLAN) - obj-y := ath/ ath_hal/ ath_rate/ net80211/ all: modules tools modules: configcheck svnversion.h ifdef LINUX24 - for i in $(DIRS_MODULES); do \ + for i in $(obj-y); do \ $(MAKE) -C $$i || exit 1; \ done else @@ -90,7 +88,7 @@ @# might cause make to abort the build sh scripts/find-madwifi-modules.sh $(KERNELRELEASE) $(DESTDIR) - for i in $(DIRS_MODULES); do \ + for i in $(obj-y); do \ $(MAKE) -C $$i install || exit 1; \ done ifeq ($(DESTDIR),) @@ -105,7 +103,7 @@ $(MAKE) -C $(TOOLS) uninstall clean: - for i in $(DIRS_MODULES); do \ + for i in $(obj-y); do \ $(MAKE) -C $$i clean; \ done -$(MAKE) -C $(TOOLS) clean |