X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=ath_hal%2FMakefile;h=c9a3ef4a36d21ffa7a474ed301b6a3016a9c1c26;hb=a78d83bb0d268e1bdbd7b4791a16c9b0aafed37e;hp=aeda73143a5d61373c9d0a54f5ec0cb3867b06c1;hpb=8d91a54ceaf943962a36d1e81a2d7d3f27f10dc5;p=madwifi%2F.git diff --git a/ath_hal/Makefile b/ath_hal/Makefile index aeda731..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 -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) +