Filter out harmful options from OBJCOPY. Linux 2.4 adds "-O binary" and
"-S" for i386 and x86_64, which would break the build.
Use $(TOP) in hal_unmangle.objcopy path.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3599
0192ed92-7a03-0410-a25b-
9323aeb14dbd
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` \
+ $(filter-out -O binary -S,$(OBJCOPY)) \
+ `cat $(TOP)/scripts/hal_unmangle.objcopy` \
$(obj)/$(TARGET).hal.o
install: