OpenSDE Packages Database (without history before r20070)
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.

39 lines
1.3 KiB

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