ckmake: rename get_rel_spec() to get_rel_spec_ubuntu()
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Tue, 7 May 2013 09:07:05 +0000 (02:07 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 7 May 2013 13:30:43 +0000 (15:30 +0200)
Vanilla Linux kernels are being used but the directory
file naming for for the kernels are Ubuntu specific,
clarify that.

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

index bb81eb49ddb779817404c2652496a58d3d8f802e..d77da62087c86da16073d01d2e25e20b402e9329 100755 (executable)
@@ -220,7 +220,7 @@ def sig_handler(signal, frame):
        clean()
        sys.exit(-2)
 
-def get_rel_spec(rel):
+def get_rel_spec_ubuntu(rel):
        if ("rc" in rel):
                m = re.match(r"v*(?P<VERSION>\d+)\.+" \
                             "(?P<PATCHLEVEL>\d+)[.]+" \
@@ -325,7 +325,7 @@ class kernel_set():
                for dirname, dirnames, filenames in os.walk(modules):
                        dirnames.sort()
                        for subdirname in dirnames:
-                               specifics = get_rel_spec(subdirname)
+                               specifics = get_rel_spec_ubuntu(subdirname)
                                if (not specifics):
                                        continue
                                rc = False