Files
core/kernel/drivers/module-bbswitch/actions.py
T
Ertuğrul Erata 4418f00c9b add module-bbswitch and cpupowertools
perf need gtk2-devel is main package
nvidia and fglrx modules need X too
2015-06-17 00:17:23 +03:00

23 lines
618 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import kerneltools
KDIR = kerneltools.getKernelVersion()
def build():
autotools.make("KDIR=/lib/modules/%s/build" % KDIR)
#autotools.make()
def install():
#autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.insinto("/lib/modules/%s/misc" % KDIR, "bbswitch.ko")
pisitools.dodoc("NEWS", "README*")