X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=ath_hal%2FMakefile;h=c9a3ef4a36d21ffa7a474ed301b6a3016a9c1c26;hb=a78d83bb0d268e1bdbd7b4791a16c9b0aafed37e;hp=478739c84c2ef3caea05bf0cb4eb915b663283b1;hpb=2c0d8db912df58c3a1b506e144e2b5d72edec617;p=madwifi%2F.git diff --git a/ath_hal/Makefile b/ath_hal/Makefile index 478739c..c9a3ef4 100644 --- a/ath_hal/Makefile +++ b/ath_hal/Makefile @@ -87,10 +87,18 @@ ifdef LINUX24 else $(call if_changed,uudecode) endif + # Replace as many hashed names as possible with meaningful + # ones in the symbol table of the binary kernel module for HAL. + $(OBJCOPY) \ + `cat $(shell dirname $(obj))/scripts/hal_unmangle.objcopy` \ + $(obj)/$(TARGET).hal.o install: test -d $(DESTDIR)/$(KMODPATH) || mkdir -p $(DESTDIR)/$(KMODPATH) - install ath_hal.$(KMODSUF) $(DESTDIR)/$(KMODPATH) + install -m 0644 ath_hal.$(KMODSUF) $(DESTDIR)/$(KMODPATH) +ifneq ($(strip $(ALQ)),0) + install -m 0644 alq.$(KMODSUF) $(DESTDIR)/$(KMODPATH) +endif clean: rm -f *~ *.o *.ko *.mod.c uudecode .*.cmd @@ -99,3 +107,4 @@ clean: ath_hal.o: $(ath_hal-objs) $(LD) $(LDFLAGS) -o ath_hal.$(KMODSUF) -r $(ath_hal-objs) +