Lines 47-54
Link Here
|
47 |
subprocess.check_call(['make', 'defconfig'], cwd='/usr/src/linux') |
47 |
subprocess.check_call(['make', 'defconfig'], cwd='/usr/src/linux') |
48 |
|
48 |
|
49 |
if args.generate: |
49 |
if args.generate: |
50 |
kernel_options = subprocess.check_output(['python', 'kergen-map.py'], universal_newlines=True)[:-1].split(' ') |
50 |
kernel_options = subprocess.check_output(['kergen-map'], universal_newlines=True)[:-1].split(' ') |
51 |
subprocess.check_call(['python', 'depgen.py'] + kernel_options, universal_newlines=True) |
51 |
subprocess.check_call(['depgen'] + kernel_options, universal_newlines=True) |
52 |
|
52 |
|
53 |
if args.menuconfig: |
53 |
if args.menuconfig: |
54 |
subprocess.check_call(['make', 'menuconfig'], cwd='/usr/src/linux') |
54 |
subprocess.check_call(['make', 'menuconfig'], cwd='/usr/src/linux') |