Add $(obj)/ to the dependencies of ath_hal.o
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 5 May 2008 12:05:10 +0000 (12:05 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 5 May 2008 12:05:10 +0000 (12:05 +0000)
Otherwise, $(TARGET).hal.o is not built for Linux 2.4 kernels.  The rule
for ath_hal.o is for Linux 2.4 only and should not affect Linux 2.6
builds.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3604 0192ed92-7a03-0410-a25b-9323aeb14dbd

ath_hal/Makefile

index 7600418618826c4bfd6af8d798b93a8fa15bab72..994af47174293403d2e03d0227fc1f9bd606101d 100644 (file)
@@ -102,6 +102,6 @@ clean:
        rm -f .depend .version .*.o.flags .*.o.d
        rm -rf .tmp_versions
 
-ath_hal.o: $(ath_hal-objs)
+ath_hal.o: $(addprefix $(obj)/,$(ath_hal-objs))
        $(LD) $(LDFLAGS) -o ath_hal.$(KMODSUF) -r $(ath_hal-objs)