kern-tools: Remove superfluous references to "defconfig" from the "createme" script.

Submitted by Robert P. J. Day on July 21, 2012, 2:34 p.m. | Patch ID: 32789


Message ID alpine.DEB.2.02.1207211030490.13090@oneiric
State New
Headers show

Commit Message

Robert P. J. Day July 21, 2012, 2:34 p.m.
Since the only current call to "createme" from do_patch() doesn't pass
a defconfig argument, remove the apparently superfluous references to
defconfig from createme, but leave the check_defconfig() function in
just in case it ever becomes useful.

Signed-off-by: Robert P. J. Day <>


  not sure if this is the right list for kern-tools patches ... should
these things go to the new kernel mailing list?

Patch hide | download patch | download mbox

diff --git a/tools/createme b/tools/createme
index 78e98ac..219e92d 100755
--- a/tools/createme
+++ b/tools/createme
@@ -19,7 +19,7 @@  usage()
 cat << EOF

-    createme [-v] [--disable-meta-gen] --meta=<branch name> <arch> <branch> [defconfig]
+    createme [-v] [--disable-meta-gen] --meta=<branch name> <arch> <branch>

       --disable-meta-gen: do not automatically create meta data
                           if not already present in the source tree.
@@ -62,7 +62,6 @@  done

-defconfig=$3 # might be empty
 CURRENT=`git branch |grep \*|sed 's/^\* //'`

@@ -194,7 +193,6 @@  check_defconfig() {
 # being built
 check_branch() {
-	defconfig=$2


@@ -217,6 +215,5 @@  check_branch() {

-check_defconfig $defconfig
-check_branch $branch $defconfig
+check_branch $branch
 metaize $branch