[OE-core] what's the point of the "defconfig" arg to check_branch?

Robert P. J. Day rpjday at crashcourse.ca
Sat Jul 21 13:44:56 UTC 2012


  in the createme() kern-tools utility:

# checks and creates the branch that was indicated when creatme was
# called. This branch is what is expected to contain the kernel content
# being built
check_branch() {
	branch=$1
	defconfig=$2   <-- ??????

	ktgt=$branch

	old_pwd=`pwd`
	git show-ref --quiet --verify -- "refs/heads/$ktgt"
	if [ $? -eq 1 ]; then
		if [ "$repo" == "external" ]; then
			git checkout -b $ktgt
		fi
		mkdir -p $meta_dir/cfg/scratch/obj
	else
		# branch exists. Are we an 'external repo' ?
		if [ "$repo" == "external" ]; then
			git checkout $ktgt
		fi
	fi

	cd $old_pwd
}

  it doesn't seem like that second argument is being used, and i don't
see anything in the log that explains it, but perhaps i just missed
it.

rday

-- 

========================================================================
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