You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.3 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ieee80211/pkg_linux26_pre.conf
# Copyright (C) 2006 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
#var_append confscripts ' ' "$( echo $base/package/*/ieee80211/kernel.conf.sh )"
hook_add postpatch 5 'ieee80211_remove_old'
ieee80211_remove_old() {
echo_warning "Replacing old IEEE 802.11 subsystem in favor of the one from Intel."
# remove old files
find . -follow -type f -name 'ieee80211[_.]*' -exec rm -vf '{}' \;
# inject new headers
tar -C $builddir $taropt $( match_source_file -p . ieee80211 )
mv -v $builddir/ieee80211-*/net/* include/net/
# and bogus Makefile
#rm net/ieee80211/Makefile
#touch net/ieee80211/Makefile
# drop-in approach
mv -v $builddir/ieee80211-*/* net/ieee80211/
mv -v net/ieee80211/in-tree/* net/ieee80211/
rm -vrf net/ieee80211/{net,in-tree}
}
#var_append lx_3rd_party_modules " " "ieee80211"