b43-firmware in main

This commit is contained in:
Ertuğrul Erata
2015-08-23 19:10:19 +03:00
parent 9a796f9228
commit bc3e6c020e
6 changed files with 137 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import shelltools
WorkDir = "broadcom-wl-%s" % get.srcVERSION()
def install():
pisitools.dodir("/lib/firmware")
for obj in ("../wl_apsta-3.130.20.0.o", "linux/wl_apsta.o"):
shelltools.system("b43-fwcutter -w %s/lib/firmware %s" % (get.installDIR(), obj))