From 4fd69798db47b5d422e3cac28888d22ee638c361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Thu, 9 Apr 2009 13:18:21 +0000 Subject: [PATCH] Use KCONFIG env variable for configuration type --- pisi/actionsapi/kerneltools.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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()