mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-29 15:44:03 +00:00
Adjust the paths to match new stuff location
Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
5b95b81ea9
commit
5159cd7bc0
10
Makefile.am
10
Makefile.am
@ -9,14 +9,16 @@ bin_SCRIPTS = ct-ng
|
||||
CLEANFILES = $(bin_SCRIPTS)
|
||||
EXTRA_DIST = ct-ng.in bootstrap
|
||||
|
||||
nobase_dist_pkgdata_DATA = $(verbatim_data)
|
||||
# paths.sh generated by configure
|
||||
nobase_dist_pkgdata_DATA = $(verbatim_data) paths.sh
|
||||
|
||||
do_subst = ( @SED@ \
|
||||
-e 's,[@]bindir[@],$(bindir),g' \
|
||||
-e 's,[@]libdir[@],$(libdir),g' \
|
||||
-e 's,[@]docdir[@],$(docdir),g' \
|
||||
-e 's,[@]mandir[@],$(mandir),g' \
|
||||
-e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \
|
||||
-e 's,[@]pkglibexecdir[@],$(pkglibexecdir),g' \
|
||||
| $(SHELL) config.status --file=- )
|
||||
|
||||
ct-ng: ct-ng.in
|
||||
$(AM_V_GEN)$(do_subst) < $< >$@-t && chmod a-w,a+x $@-t && mv $@-t $@
|
||||
ct-ng: ct-ng.in Makefile
|
||||
$(AM_V_GEN)$(do_subst) < $< >$@-t && chmod a-w,a+x $@-t && mv -f $@-t $@
|
||||
|
10
ct-ng.in
10
ct-ng.in
@ -16,7 +16,8 @@ export CT_TOP_DIR:=$(shell pwd)
|
||||
|
||||
# Paths and values set by ./configure
|
||||
# Don't bother to change it other than with a new ./configure!
|
||||
export CT_LIB_DIR:=@libdir@
|
||||
export CT_LIB_DIR:=@pkgdatadir@
|
||||
export CT_LIBEXEC_DIR:=@pkglibexecdir@
|
||||
export CT_DOC_DIR:=@docdir@
|
||||
|
||||
# This is crosstool-NG version string
|
||||
@ -84,9 +85,9 @@ FORCE:
|
||||
export KCONFIG_TOP = $(CT_LIB_DIR)/config/config.in
|
||||
|
||||
# We need CONF for savedefconfig in scripts/saveSample.sh
|
||||
export CONF := $(CT_LIB_DIR)/kconfig/conf
|
||||
MCONF := $(CT_LIB_DIR)/kconfig/mconf
|
||||
NCONF := $(CT_LIB_DIR)/kconfig/nconf
|
||||
export CONF := $(CT_LIBEXEC_DIR)/conf
|
||||
MCONF := $(CT_LIBEXEC_DIR)/mconf
|
||||
NCONF := $(CT_LIBEXEC_DIR)/nconf
|
||||
|
||||
# Used by conf/mconf/nconf to find the .in files
|
||||
# TBD needed? We do supply the defconfig name explicitly below
|
||||
@ -182,7 +183,6 @@ help-clean::
|
||||
@echo ' clean - Remove generated files'
|
||||
@echo ' distclean - Remove generated files, configuration and build directories'
|
||||
|
||||
include $(CT_LIB_DIR)/steps.mk
|
||||
include $(CT_LIB_DIR)/samples/samples.mk
|
||||
include $(CT_LIB_DIR)/scripts/scripts.mk
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user