From dfe9664d2f37a9a4e520ffa1ab9e494f556c51fa Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Thu, 6 Oct 2022 17:59:28 +0800 Subject: [PATCH] builds/freetype.mk: Shouldn't remove the user's config.mk but remove the copy in $(TOP_DIR) directory instead Signed-off-by: Xiang Xiao Change-Id: I758e643e013e3ad688f3d47f8cba68095a36134e --- builds/freetype.mk | 2 +- builds/toplevel.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builds/freetype.mk b/builds/freetype.mk index 7b30c79d6..ae6fa5b4d 100644 --- a/builds/freetype.mk +++ b/builds/freetype.mk @@ -363,7 +363,7 @@ distclean_project_dos: clean_project_dos # Remove configuration file (used for distclean). # remove_config_mk: - -$(DELETE) $(subst /,$(SEP),$(CONFIG_MK) $(NO_OUTPUT)) + -$(DELETE) $(subst /,$(SEP),$(TOP_DIR)/config.mk $(NO_OUTPUT)) # Remove module list (used for distclean). # diff --git a/builds/toplevel.mk b/builds/toplevel.mk index b1da29048..777c335d8 100644 --- a/builds/toplevel.mk +++ b/builds/toplevel.mk @@ -82,7 +82,7 @@ MODULES := $(FONT_MODULES) \ $(AUX_MODULES) -CONFIG_MK ?= config.mk +CONFIG_MK ?= $(TOP_DIR)/config.mk # If no configuration sub-makefile is present, or if `setup' is the target # to be built, run the auto-detection rules to figure out which