|
#!/bin/sh
|
|
[ "$1" != "PRE_BUILD" ] && exit 0
|
|
shift
|
|
TBUILD="$1"
|
|
|
|
[ -z "$TBUILD" ] || [ ! -d "build/$TBUILD" ] && exit 1
|
|
cp -f scripts/files/regdb.txt build/$TBUILD/package/kernel/mac80211/files
|
|
cp -f scripts/files/920-regdb.patch build/$TBUILD/package/kernel/mac80211/patches
|
|
#patch -p0 -d build/$TBUILD/ < scripts/files/copyregdb_iwinfo_iwinfo_lib.c.patch > /dev/null
|