From: Luis R. Rodriguez Date: Tue, 7 May 2013 09:07:05 +0000 (-0700) Subject: ckmake: rename get_rel_spec() to get_rel_spec_ubuntu() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=19b8867768fe9470fa209ed0caddabe5a75ced45;p=openwrt%2Fstaging%2Fblogic.git ckmake: rename get_rel_spec() to get_rel_spec_ubuntu() 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 Signed-off-by: Johannes Berg --- diff --git a/devel/ckmake b/devel/ckmake index bb81eb49ddb7..d77da62087c8 100755 --- a/devel/ckmake +++ b/devel/ckmake @@ -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\d+)\.+" \ "(?P\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