From 5de891ff8fb38784c47a378ee0faaa533da2d92c Mon Sep 17 00:00:00 2001 From: Daniel Cordero Date: Tue, 9 Feb 2016 09:10:52 +0000 Subject: [PATCH] Add repositories for "bass" (LG Watch Urbane) Bass has its own repository for hardware support. Clone the meta-bass-hybris layer and configure the build to use the bass layer. $ . ./prepare-build.sh bass --- prepare-build.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/prepare-build.sh b/prepare-build.sh index 44878ee..510060d 100755 --- a/prepare-build.sh +++ b/prepare-build.sh @@ -38,6 +38,11 @@ if [ ! -d src/meta-qt5 ] ; then fi case ${1} in + bass) + if [ ! -d src/meta-bass-hybris ] ; then + git clone https://github.com/AsteroidOS/meta-bass-hybris src/meta-bass-hybris + fi + ;; *) if [ ! -d src/meta-dory-hybris ] ; then git clone https://github.com/AsteroidOS/meta-dory-hybris src/meta-dory-hybris @@ -53,6 +58,11 @@ esac # Create local.conf and bblayers.conf if [ ! -e $ROOTDIR/build/conf/local.conf ]; then case ${1} in + bass) + cat > $ROOTDIR/build/conf/local.conf << EOF +MACHINE ??= "bass" +EOF + ;; *) cat > $ROOTDIR/build/conf/local.conf << EOF MACHINE ??= "dory" @@ -102,6 +112,12 @@ BBLAYERS ?= " \\ $ROOTDIR/src/meta-openembedded/meta-filesystems \\ EOF case ${1} in + bass) + cat >> $ROOTDIR/build/conf/bblayers.conf << EOF + $ROOTDIR/src/meta-bass-hybris \\ + " +EOF + ;; *) cat >> $ROOTDIR/build/conf/bblayers.conf << EOF $ROOTDIR/src/meta-dory-hybris \\