This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] saveSample: Reset CT_LOCAL_TARBALLS_DIR to default


Keep CT_LOCAL_TARBALLS_DIR at the default setting of ${HOME}/src so that
we don't save irrelevant paths in the samples.

--
Nate Case <ncase@xes-inc.com>

P.S. - Or maybe it should just default to "" ?  That's what the
menuconfig defaults to, but all the other samples seem to use
${HOME}/src.

Index: scripts/saveSample.sh
===================================================================
--- scripts/saveSample.sh	(revision 1080)
+++ scripts/saveSample.sh	(working copy)
@@ -45,6 +45,7 @@
 sed -r -e 's|^(CT_PREFIX_DIR)=.*|\1="${HOME}/x-tools/${CT_TARGET}"|;'       \
        -e 's|^# CT_LOG_TO_FILE is not set$|CT_LOG_TO_FILE=y|;'              \
        -e 's|^# CT_LOG_FILE_COMPRESS is not set$|CT_LOG_FILE_COMPRESS=y|;'  \
+       -e 's|^(CT_LOCAL_TARBALLS_DIR)=.*|\1="${HOME}/src"|;'                \
     <"${CT_TOP_DIR}/.config"                                                \
     >"${CT_TOP_DIR}/samples/${CT_TARGET}/crosstool.config"
 



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]