mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
Fix Linux 2.4 compatibility
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
This commit is contained in:
parent
370c06ca3a
commit
9230ae95d4
@ -89,8 +89,8 @@ else
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user