mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-07 03:16:43 +00:00
Force CT_WORK_DIR to "${CT_TOP_DIR}/targets" when saving the config as a new sample.
/trunk/Makefile.in | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
This commit is contained in:
parent
055681518c
commit
10d2b52665
@ -124,8 +124,9 @@ install-lib-main: $(LIBDIR)
|
||||
install-lib-samples: $(LIBDIR) install-lib-main
|
||||
@echo " INST 'samples/'"
|
||||
@tar cf - --exclude=.svn samples |(cd "$(LIBDIR)"; tar xf -)
|
||||
@for samp_file in "$(LIBDIR)/samples/"*"/crosstool.config"; do \
|
||||
sed -r -i -e 's,\$$\{CT_TOP_DIR\},\$$\{CT_LIB_DIR\},g;' $${samp_file}; \
|
||||
@for samp_file in "$(LIBDIR)/samples/"*"/crosstool.config"; do \
|
||||
sed -r -i -e 's,\$$\{CT_TOP_DIR\},\$$\{CT_LIB_DIR\},g;' $${samp_file}; \
|
||||
sed -r -i -e 's,^(CT_WORK_DIR)=.*,\1="\$${CT_TOP_DIR}/targets",;' $${samp_file}; \
|
||||
done
|
||||
|
||||
install-doc: $(DOCDIR)
|
||||
|
Loading…
x
Reference in New Issue
Block a user