build: Add local Ubuntu mirror to target image
[armband.git] / Makefile
index 8300711..9ba6d9c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,8 @@
 # - 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
@@ -113,10 +115,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