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 <christophe@dinechin.org>
This commit is contained in:
Christophe de Dinechin 2021-11-27 00:10:50 +01:00
parent 8ce736a084
commit 13fa0221bb
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ SYSTEM_SETUP= \
$(SYSCONFIG:%=SYSCONFIG?="$(SYSCONFIG)") \ $(SYSCONFIG:%=SYSCONFIG?="$(SYSCONFIG)") \
$(PREFIX:%=PREFIX?="$(PREFIX)") \ $(PREFIX:%=PREFIX?="$(PREFIX)") \
$(foreach i,$(INSTALLABLE),$(PREFIX.$i:%=PREFIX.$i?=$(PREFIX.$i))) \ $(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: $(MIQ_OBJDIR)config.system-setup.mk:
$(PRINT_GENERATE) ( $(SYSTEM_SETUP:%=echo %;) true ) > $@ $(PRINT_GENERATE) ( $(SYSTEM_SETUP:%=echo %;) true ) > $@