build/f_repos: Allow out-of-tree .git dir 87/22887/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 9 Oct 2016 17:04:28 +0000 (19:04 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 9 Oct 2016 17:07:11 +0000 (19:07 +0200)
commit6b87729e4b16975138d67ec01a0aa6b925a06245
tree9f5b86cd51a7c4acb00dea8e5867e64b21d83a27
parent4d4faf44dc1380b1ca731c49be9705635b840738
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 <Alexandru.Avadanii@enea.com>
build/config.mk
build/f_repos/Makefile