# Replace as many hashed names as possible with meaningful
# ones in the symbol table of the binary kernel module for HAL.
$(filter-out -O binary -S,$(OBJCOPY)) \
- `cat $(TOP)/scripts/hal_unmangle.objcopy` \
+ $$(cat $(TOP)/scripts/hal_unmangle.objcopy) \
$(obj)/$(TARGET).hal.o
.PHONY: install
}
SRC=..
-KERNEL_VERSION=`uname -r`
+KERNEL_VERSION=$(uname -r)
if test -n "$1"; then
KERNEL_PATH="$1"
echo "Copying source files"
-FILES=`cd ${SRC} && find ath ath_hal ath_rate hal include net80211 -name '*.[ch]'`
+FILES=$(cd ${SRC} && find ath ath_hal ath_rate hal include net80211 -name '*.[ch]')
for f in $FILES; do
case $f in
*.mod.c) continue;;
esac
- mkdir -p `dirname ${MADWIFI}/$f`
+ mkdir -p $(dirname ${MADWIFI}/$f)
cp -f ${SRC}/$f ${MADWIFI}/$f
done
echo "Copying makefiles"
-FILES=`cd ${SRC} && find . -name Makefile.kernel`
+FILES=$(cd ${SRC} && find . -name Makefile.kernel)
for f in $FILES; do
- cp -f ${SRC}/$f `dirname ${MADWIFI}/$f`/Makefile
+ cp -f ${SRC}/$f $(dirname ${MADWIFI}/$f)/Makefile
done
cp -f ${SRC}/ath_hal/ah_target.inc ${MADWIFI}/ath_hal
: ${PATTERN='\(ath_.*\|wlan_.*\|wlan\)$'}
: ${MAX_TRIES=10}
-test "`id -u`" = 0 || {
+test "$(id -u)" = 0 || {
echo "ERROR: You must be root to run this script" >&2
exit 1
}
skipped=0
IFS='
'
- for line in `cat /proc/modules`; do
+ for line in $(cat /proc/modules); do
IFS=' '
set x $line
name="$2"