If requested, give the opportunity to launch menuconfig

This commit is contained in:
Ozan Çağlayan
2009-04-09 07:09:08 +00:00
parent 9c4680e8db
commit 8d3a63d716
+4 -1
View File
@@ -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()