Gmane
From: Pavel Roskin <svn-commits <at> madwifi.org>
Subject: revision 3837 committed
Newsgroups: gmane.linux.drivers.madwifi.cvs
Date: 2008-08-01 02:51:19 GMT (23 weeks, 1 day, 1 hour and 45 minutes ago)
Project     : madwifi
Revision    : 3837
Author      : proski (Pavel Roskin)
Date        : 2008-08-01 04:51:19 +0200 (Fri, 01 Aug 2008)

Log Message :
Fix make warning on Linux 2.4 introduced by the last commit

Don't use two targets, simply omit $(obj)/ if it evaluates to "./"

Affected Files:
* madwifi/trunk/ath_hal/Makefile                      updated             

Modified: madwifi/trunk/ath_hal/Makefile
===================================================================
--- madwifi/trunk/ath_hal/Makefile	2008-08-01 02:26:30 UTC (rev 3836)
+++ madwifi/trunk/ath_hal/Makefile	2008-08-01 02:51:19 UTC (rev 3837)
@@ -82,7 +82,7 @@
 quiet_cmd_uudecode = UUDECODE $@
       cmd_uudecode = $(obj)/uudecode -o $@ $<

-$(HALBIN) $(obj)/$(HALBIN): $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode
+$(filter-out ./,$(obj)/)$(HALBIN): $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode
 ifdef LINUX24
 	$(cmd_uudecode)
 else
@@ -95,7 +95,7 @@
       cmd_unmangle = $(filter-out -O binary -S,$(OBJCOPY)) \
 		$$(cat $(TOP)/scripts/hal_unmangle.objcopy) $< $@

-$(HALOBJ) $(obj)/$(HALOBJ): $(obj)/$(HALBIN)
+$(filter-out ./,$(obj)/)$(HALOBJ): $(obj)/$(HALBIN)
 ifdef LINUX24
 	$(cmd_unmangle)
 else

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/