Added conditional configuration flag -c to build.py

This commit is contained in:
Bahadir Balban
2009-10-08 19:07:59 +03:00
parent d888267f58
commit 7e38e70f93
5 changed files with 11 additions and 7 deletions

View File

@@ -16,12 +16,13 @@ from configure import *
from config.parse_options import *
def main():
build_parse_options()
options, args = build_parse_options()
#
# Configure
#
configure_kernel(CML2_CML_FILE)
if options.config or not os.path.exists(CML2_OLDCONFIG_FILE):
configure_kernel(CML2_CML_FILE)
#
# Build the kernel