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:
parent
8ce736a084
commit
13fa0221bb
2
Makefile
2
Makefile
|
@ -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 ) > $@
|
||||||
|
|
Loading…
Reference in New Issue