beaglebone: Reorder folder structure
Signed-off-by: Thomas Klaehn <thomas.klaehn@u-blox.com>
This commit is contained in:
parent
9dfd5da5aa
commit
7a88af7d0c
@ -11,11 +11,23 @@ for NOPTARG in $*; do
|
|||||||
BUILD_DIR="$NOPTARG"
|
BUILD_DIR="$NOPTARG"
|
||||||
done
|
done
|
||||||
|
|
||||||
export TEMPLATECONF="meta-bbb/buildconf"
|
export TEMPLATECONF="../meta-bbb/buildconf"
|
||||||
|
|
||||||
export MACHINE=$OPT_M
|
export MACHINE=$OPT_M
|
||||||
rm -f build/conf/bblayers.conf \
|
rm -f build/conf/bblayers.conf \
|
||||||
build/conf/templateconf.cfg
|
build/conf/templateconf.cfg
|
||||||
source poky/oe-init-build-env $BUILD_DIR
|
|
||||||
|
mkdir -p $BUILD_DIR
|
||||||
|
|
||||||
|
if [ ! -h $BUILD_DIR/sync_ipk_up.sh ]; then
|
||||||
|
ln -s ../layers/meta-bbb/tools/scripts/sync_ipk_up.sh $BUILD_DIR/sync_ipk_up.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -h $BUILD_DIR/sync_src_up.sh ]; then
|
||||||
|
ln -s ../layers/meta-bbb/tools/scripts/sync_src_up.sh $BUILD_DIR/sync_src_up.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
source layers/poky/oe-init-build-env $BUILD_DIR
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
@ -6,11 +6,10 @@ BBPATH = "${TOPDIR}"
|
|||||||
BBFILES ?= ""
|
BBFILES ?= ""
|
||||||
|
|
||||||
BBLAYERS ?= " \
|
BBLAYERS ?= " \
|
||||||
${TOPDIR}/../poky/meta \
|
${TOPDIR}/../layers/poky/meta \
|
||||||
${TOPDIR}/../poky/meta-poky \
|
${TOPDIR}/../layers/poky/meta-poky \
|
||||||
${TOPDIR}/../poky/meta-yocto-bsp \
|
${TOPDIR}/../layers/poky/meta-yocto-bsp \
|
||||||
${TOPDIR}/../poky/meta-openembedded/meta-oe \
|
${TOPDIR}/../layers/meta-openembedded/meta-oe \
|
||||||
${TOPDIR}/../poky/meta-openembedded/meta-python \
|
${TOPDIR}/../layers/meta-openembedded/meta-python \
|
||||||
${TOPDIR}/../poky/meta-bbb \
|
${TOPDIR}/../layers/meta-bbb \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
MACHINE ?= "beaglebone"
|
MACHINE ?= "beaglebone"
|
||||||
|
|
||||||
DL_DIR ?= "${TOPDIR}/../../downloads"
|
#DL_DIR ?= "${TOPDIR}/../../downloads"
|
||||||
SSTATE_DIR ?= "${TOPDIR}/../../sstate-cache"
|
#SSTATE_DIR ?= "${TOPDIR}/../../sstate-cache"
|
||||||
#TMPDIR = "${TOPDIR}/tmp"
|
#TMPDIR = "${TOPDIR}/tmp"
|
||||||
|
|
||||||
DISTRO ?= "poky"
|
DISTRO ?= "poky"
|
||||||
@ -30,3 +30,14 @@ BB_DISKMON_DIRS = "\
|
|||||||
#file://.* file:///some/local/dir/sstate/PATH"
|
#file://.* file:///some/local/dir/sstate/PATH"
|
||||||
|
|
||||||
CONF_VERSION = "1"
|
CONF_VERSION = "1"
|
||||||
|
|
||||||
|
INHERIT += "rm_work own-mirrors icecc"
|
||||||
|
|
||||||
|
ICECC_PATH = "/usr/bin/icecc"
|
||||||
|
ICECC_PARALLEL_MAKE = "-j 20"
|
||||||
|
|
||||||
|
SOURCE_MIRROR_URL = "https://files.blackfinn.de/mirror/sources"
|
||||||
|
|
||||||
|
BB_GENERATE_MIRROR_TARBALLS = "1"
|
||||||
|
|
||||||
|
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
rsync -avz -e "ssh -o StrictHostKeyChecking=no" --progress tmp/deploy/ipk/ tkl@proxy:/mnt/data/ipk/$1
|
rsync -avz -e "ssh -o StrictHostKeyChecking=no" --progress tmp/deploy/ipk/ tkl@e320:/srv/ipk/$1
|
||||||
else
|
else
|
||||||
echo "Which branch?"
|
echo "Which branch?"
|
||||||
exit -1
|
exit -1
|
3
tools/scripts/sync_src_up.sh
Executable file
3
tools/scripts/sync_src_up.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
rsync -tvz -e "ssh -o StrictHostKeyChecking=no" --progress downloads/ tkl@e320:/srv/files/mirror/sources
|
||||||
|
|
Loading…
Reference in New Issue
Block a user