diff --git a/builds/freetype.mk b/builds/freetype.mk index b6ff865b7..3bef2e347 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 aaace5920..4d396758c 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