# - Fuel@OPNFV is made aware of an Armband type build by passing
# the "ARMBAND_BASE" env var;
+SHELL = /bin/sh
+
export ARMBAND_BASE := $(shell pwd)
export OPNFV_GIT_SHA := $(shell git rev-parse HEAD)
export REVSTATE
SUB_FEATURE=$${p_dir#$$SUB_DIR} \
SUB_TAG=${A_OPNFV_TAG}-fuel$$SUB_FEATURE/patch; \
echo "`tput setaf 2`== patching $$name ($$SUB_TAG)`tput sgr0`";\
- git tag $$SUB_TAG-root && git am -3 --whitespace=nowarn \
+ git tag $$SUB_TAG-root && \
+ git am -3 --whitespace=nowarn --patch-format=mbox \
--committer-date-is-author-date $$SUB_PATCHES && \
git tag $$SUB_TAG || exit 1; \
fi \
done
@touch $@
-# Pass down clean/deepclean/build to Fuel@OPNFV
-.PHONY: clean
+# Pass down debug/clean/deepclean/build to Fuel@OPNFV
+.PHONY: clean debug
clean: .submodules-init
- $(MAKE) -e --no-print-directory -C ${F_BUILD_DIR} clean
+debug: fuel-patches-import
+clean debug:
+ $(MAKE) -e --no-print-directory -C ${F_BUILD_DIR} $@
.PHONY: deepclean
deepclean: clean