f-l: build_image: Extract cluster_arch from / URI
[armband.git] / Makefile
index b563440..35a3f08 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -90,7 +90,8 @@ patches-import: .submodules-init .submodules-patched
                                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 \
@@ -115,10 +116,12 @@ patches-import: .submodules-init .submodules-patched
        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