summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-10-18 17:21:08 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-10-18 17:30:59 +0200
commit4c4c87b441e003572dfec3b95f5c4bcdb428d237 (patch)
tree2fded9388cdfaa1fc2f630459ef596ca3738ccf2 /Makefile
parent7684dd13589cab6860e514a9c3b8043666c818da (diff)
build: Add <debug> make target
Pass `make debug` to Fuel@OPNFV build system. debug requires Fuel@OPNFV submodules to be initialized, since `f_repobuild` relies on fuel-mirror submodule. Change-Id: Ia64a7d79143c00fc09076472ad346f0cdc20c2b5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b563440d..9ba6d9cb 100644
--- a/Makefile
+++ b/Makefile
@@ -115,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