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 <xiaoxiang@xiaomi.com>
Change-Id: I758e643e013e3ad688f3d47f8cba68095a36134e
This commit is contained in:
Xiang Xiao 2022-10-06 17:59:28 +08:00
parent 8e68439a6f
commit dfe9664d2f
2 changed files with 2 additions and 2 deletions

View file

@ -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).
#

View file

@ -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