From 6f0535eb5277d0708283b26d55d3ff7fd04c4ade Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Tue, 15 Jan 2019 12:40:31 -0500 Subject: [PATCH] added target to fetch all source code needed for build --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 3c80999..f655bdb 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,11 @@ citadel-kernel: ## Build citadel-kernel with bitbake build-appimg: ## Build an application image $(DOCKER_RUN_PRIV) bash -c 'sudo APPIMG_BUILDER_BASE=$${PWD}/appimg-builder appimg-builder/stage-one.sh --no-confirm -z -d build/appimg' +fetch-all: ## Download all source packages needed for build in advance + mkdir -p build/conf + echo 'BB_NUMBER_THREADS="2"' > build/conf/fetch-prefile.conf + $(DOCKER_RUN) bash -c "source setup-build-env && bitbake --read=conf/fetch-prefile.conf --continue --runall=fetch citadel-installer-image" + update-submodules: ## Retrieve or update submodule projects git submodule update --init