From 08263367bc992fd70a5c937d4ad0c8062b8b24cb Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 17 Aug 2018 16:31:35 -0600 Subject: [PATCH] apps/Application.mk: If a loadable module is generated the we need to add logic to remove the loadable module in the 'make clean' logic. --- Application.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Application.mk b/Application.mk index b4c9a8965..153c662f7 100644 --- a/Application.mk +++ b/Application.mk @@ -145,6 +145,9 @@ endif depend: .depend clean: +ifeq ($(LOADABLE),y) + $(call DELFILE, $(APPNAME)) +endif $(call DELFILE, .built) $(call CLEAN)