[OE-core] kern-tools: Remove superfluous references to "defconfig" from the "createme" script.

Robert P. J. Day rpjday at crashcourse.ca
Sat Jul 21 14:34:14 UTC 2012


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 <rpjday at crashcourse.ca>

---

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


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

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

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

 	ktgt=$branch

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


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

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list