From 3db59e99c7f87b5dc3e6c371d67d663d83ba9b46 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 24 Apr 2019 23:35:42 +0200 Subject: [PATCH] - split neutrino's clean targets --- make/neutrino.mk | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/make/neutrino.mk b/make/neutrino.mk index 054ca759..ae57aad7 100644 --- a/make/neutrino.mk +++ b/make/neutrino.mk @@ -254,9 +254,13 @@ endif # ----------------------------------------------------------------------------- -neutrino-clean: - -make -C $(N_OBJ_DIR) uninstall - -make -C $(N_OBJ_DIR) distclean +neutrino-uninstall: + -make -C $(N_OBJ_DIR) uninstall DESTDIR=$(TARGET_DIR) + +neutrino-distclean: + -make -C $(N_OBJ_DIR) distclean DESTDIR=$(TARGET_DIR) + +neutrino-clean: neutrino-uninstall neutrino-distclean rm -f $(N_OBJ_DIR)/config.status rm -f $(D)/neutrino @@ -274,5 +278,6 @@ libstb-hal-clean-all: libstb-hal-clean # ----------------------------------------------------------------------------- PHONY += neutrino-bin +PHONY += neutrino-uninstall neutrino-distclean PHONY += neutrino-clean neutrino-clean-all PHONY += libstb-hal-clean libstb-hal-clean-all