From 6b87729e4b16975138d67ec01a0aa6b925a06245 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Sun, 9 Oct 2016 19:04:28 +0200 Subject: build/f_repos: Allow out-of-tree .git dir ArmbandFuel@OPNFV uses Fuel@OPNFV git repo as a submodule, so its .git dir is located outside work tree root (F_GIT_ROOT). Allow this setup by parsing `git rev-parse --git-dir` intead of harcoding git dir path. Fixes: FUEL-200 Change-Id: Ia7f3b23e9333356fe05b9ed0565218f2c7ec8eba Signed-off-by: Alexandru Avadanii --- build/config.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'build/config.mk') diff --git a/build/config.mk b/build/config.mk index ab30518b5..b9be44f0a 100644 --- a/build/config.mk +++ b/build/config.mk @@ -22,6 +22,7 @@ FUEL_TRACK_REMOTES = # git submodule & patch locations for Fuel components F_GIT_ROOT := $(shell git rev-parse --show-toplevel) +F_GIT_DIR := $(shell git rev-parse --git-dir) F_SUBMOD_DIR := ${F_GIT_ROOT}/build/f_repos/sub F_PATCH_DIR := ${F_GIT_ROOT}/build/f_repos/patch F_OPNFV_TAG := ${FUEL_MAIN_TAG}-opnfv -- cgit 1.2.3-korg