Use KCONFIG env variable for configuration type

This commit is contained in:
Ozan Çağlayan
2009-04-09 13:18:21 +00:00
parent ee0140e66e
commit 4fd69798db
+4 -3
View File
@@ -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()