From 13fa0221bb109554862cbcde107072275bcdde29 Mon Sep 17 00:00:00 2001 From: Christophe de Dinechin Date: Sat, 27 Nov 2021 00:10:50 +0100 Subject: [PATCH] Fetch config sources when installed from the correct directory When installing in a distribution, we need the config.system-setup.mk to point to the right directory (e.g. /usr/share/make-it-quick/config) to fetch the sources while building. Signed-off-by: Christophe de Dinechin --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dd9312e..b78dc5b 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ SYSTEM_SETUP= \ $(SYSCONFIG:%=SYSCONFIG?="$(SYSCONFIG)") \ $(PREFIX:%=PREFIX?="$(PREFIX)") \ $(foreach i,$(INSTALLABLE),$(PREFIX.$i:%=PREFIX.$i?=$(PREFIX.$i))) \ -CONFIG_SOURCES="$(PREFIX.config)" +CONFIG_SOURCES="$(PREFIX.config)$(PACKAGE_DIR.config)" $(MIQ_OBJDIR)config.system-setup.mk: $(PRINT_GENERATE) ( $(SYSTEM_SETUP:%=echo %;) true ) > $@