From 8d3a63d716559ba130b97aab62d500d38e650d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Thu, 9 Apr 2009 07:09:08 +0000 Subject: [PATCH] If requested, give the opportunity to launch menuconfig --- pisi/actionsapi/kerneltools.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pisi/actionsapi/kerneltools.py b/pisi/actionsapi/kerneltools.py index 9b28d048..3391d346 100644 --- a/pisi/actionsapi/kerneltools.py +++ b/pisi/actionsapi/kerneltools.py @@ -67,7 +67,10 @@ def configure(): pisitools.dosed("Makefile", "EXTRAVERSION =.*", "EXTRAVERSION = %s" % extraversion) # Configure the kernel - autotools.make("oldconfig") + if os.getenv("MENUCONFIG"): + autotools.make("menuconfig") + else: + autotools.make("oldconfig") def build(): autotools.make()