aboutsummaryrefslogtreecommitdiffstats
path: root/.templateconf
blob: 0bf5ecf1e5da02af0055ceb35eae4115fa7d7f8e (plain)
1
2
# Template settings
TEMPLATECONF=${TEMPLATECONF:-meta/conf}
round-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
# This is a shell function to be sourced into your shell or placed in your .profile,
# which makes setting things up for BitBake a bit easier.
#
# The author disclaims copyright to the contents of this file and places it in the
# public domain.

bbdev () {
	local BBDIR PKGDIR BUILDDIR
	if test x"$1" = "x--help"; then echo >&2 "syntax: bbdev [bbdir [pkgdir [builddir]]]"; return 1; fi
	if test x"$1" = x; then BBDIR=`pwd`; else BBDIR=$1; fi
	if test x"$2" = x; then PKGDIR=`pwd`; else PKGDIR=$2; fi
	if test x"$3" = x; then BUILDDIR=`pwd`; else BUILDDIR=$3; fi

	BBDIR=`readlink -f $BBDIR`
	PKGDIR=`readlink -f $PKGDIR`
	BUILDDIR=`readlink -f $BUILDDIR`
	if ! (test -d $BBDIR && test -d $PKGDIR && test -d $BUILDDIR); then
		echo >&2 "syntax: bbdev [bbdir [pkgdir [builddir]]]"
		return 1
	fi
	
	PATH=$BBDIR/bin:$PATH
	BBPATH=$BBDIR
	if test x"$BBDIR" != x"$PKGDIR"; then
		BBPATH=$PKGDIR:$BBPATH
	fi
	if test x"$PKGDIR" != x"$BUILDDIR"; then
		BBPATH=$BUILDDIR:$BBPATH
	fi
	export BBPATH
}