diff --git a/pisi/actionsapi/kerneltools.py b/pisi/actionsapi/kerneltools.py index 069fe7d1..9f681b23 100644 --- a/pisi/actionsapi/kerneltools.py +++ b/pisi/actionsapi/kerneltools.py @@ -79,10 +79,11 @@ def configure(): pisitools.dosed("Makefile", "EXTRAVERSION =.*", "EXTRAVERSION = %s" % extraversion) # Configure the kernel - if os.getenv("MENUCONFIG"): - autotools.make("menuconfig") + configtype = os.getenv("KCONFIG") + if configtype: + autotools.make(configtype) else: - autotools.make("silentoldconfig") + autotools.make("oldconfig") def build(): autotools.make()