ckmake: make --check-exports default
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Mon, 6 May 2013 21:54:26 +0000 (14:54 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 7 May 2013 13:23:37 +0000 (15:23 +0200)
Remove --check-exports as an option and now just enable it by default.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
[fix typo]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
devel/ckmake

index 0b738e5a60ed4770e404ba887098e5734b499dab..bb81eb49ddb779817404c2652496a58d3d8f802e 100755 (executable)
@@ -180,7 +180,7 @@ def process_kernel(num, kset, cmdline_args):
 
                log_file.close()
                status = p.returncode
-               if status == 0 and cmdline_args.check_exports:
+               if status == 0:
                        warn = re.compile('^WARNING:.*undefined.*')
                        log_file = open(log_file_name, 'r')
                        for l in log_file:
@@ -413,8 +413,6 @@ if __name__ == "__main__":
                            help='Build allyesconfig rather than only backport code.')
        parser.add_argument('--defconfig', metavar='<name>', type=str,
                            help='Build this defconfig rather than only backport code.')
-       parser.add_argument('--check-exports', const=True, default=False, action="store_const",
-                           help='Check for linker warnings indicating exported symbols are missing.')
        args = parser.parse_args()
 
        if not os.path.exists(modules):