build: Fix missing git config for applying patches
[armband.git] / armband-fuel-config.mk
1 ##############################################################################
2 # Copyright (c) 2016 Enea AB and others.
3 # Alexandru.Avadanii@enea.com
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10 # Prepare for merging with Fuel@OPNFV by keeping the same patch dir structure
11 A_FUEL_BASE := ${ARMBAND_BASE}/upstream/fuel
12 A_PATCH_DIR := ${ARMBAND_BASE}/patches
13 A_OPNFV_TAG  = armband-opnfv
14 A_PATCHES    = $(shell find ${A_PATCH_DIR} -name '*.patch')
15 F_BUILD_DIR := ${A_FUEL_BASE}/build
16 F_REPOS_DIR := ${F_BUILD_DIR}/f_repos
17 F_PATCH_DIR := ${F_REPOS_DIR}/patch
18 F_SUB_DIR   := ${F_REPOS_DIR}/sub
19
20 # To enable remote tracking, set the following var to any non-empty string.
21 # Leaving this var empty will bind each git submodule to its saved commit.
22 ARMBAND_TRACK_REMOTES ?= yes
23
24 # Armband plugins, supported archs & specific info
25 export PLUGINS           := f_odlpluginbuild f_bgpvpn-pluginbuild f_ovs-nsh-dpdk-pluginbuild
26 export UBUNTU_ARCH       := amd64 arm64
27 export PRODNO            := OPNFV_A_FUEL
28 export MIRROR_MOS_UBUNTU := linux.enea.com
29 export EXTRA_RPM_REPOS   := armband,http://linux.enea.com/mos-repos/centos/mos9.0-centos7/armband/x86_64,10
30
31 # Temporary fuel-plugin-builder repo info for runtime patching
32 export FPB_REPO      := https://github.com/openstack/fuel-plugins
33 export FPB_BRANCH    := master
34 export FPB_CHANGE    := refs/changes/31/311031/2
35
36 # Armband git submodules for Fuel/OPNFV components
37 export FUEL_PLUGIN_ODL_REPO        := ${ARMBAND_BASE}/upstream/fuel-plugin-opendaylight
38 export FUEL_PLUGIN_ODL_BRANCH      := opnfv-armband
39 export FUEL_PLUGIN_ODL_CHANGE      := ${A_OPNFV_TAG}
40 export OPNFV_QUAGGE_PACKAGING_REPO := https://github.com/alexandruavadanii/opnfv-quagga-packaging
41
42 export OVS_NSH_DPDK_REPO   := ${ARMBAND_BASE}/upstream/fuel-plugin-ovs
43 export OVS_NSH_DPDK_BRANCH := ${A_OPNFV_TAG}
44
45 export VSPERF_REPO   := ${ARMBAND_BASE}/upstream/vswitchperf
46 export VSPERF_BRANCH := opnfv-armband
47 export VSPERF_CHANGE := ${A_OPNFV_TAG}
48
49 # for the patches applying purposes (empty git config in docker build container)
50 export GIT_COMMITTER_NAME?=Fuel OPNFV
51 export GIT_COMMITTER_EMAIL?=fuel@opnfv.org