Changeset f5f857d for common/libs/func_wrt_Makefile
- Timestamp:
- 09/25/2007 09:34:03 PM (17 years ago)
- Branches:
- experimental
- Children:
- c5ae20a
- Parents:
- 5a4f6a7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_wrt_Makefile
r5a4f6a7 rf5f857d 59 59 60 60 #----------------------------------# 61 LUSER_wrt_target() { # Create target and initialize envars file61 LUSER_wrt_target() { # Create target 62 62 #----------------------------------# 63 63 local i=$1 … … 69 69 @\$(call echo_message, Building) 70 70 @export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID & 71 @rm -f envars && touch envars72 71 EOF 73 72 ) >> $MKFILE.tmp … … 85 84 @\$(call echo_message, Building) 86 85 @export BASHBIN=\$(SHELL) && \$(SHELL) progress_bar.sh \$@ \$\$PPID & 87 @rm -f envars && touch envars88 EOF89 ) >> $MKFILE.tmp90 }91 92 #=======================93 94 95 #===== TESTS LOGS ======96 97 #----------------------------------#98 LUSER_wrt_test_log() { # Initialize testsuite log file99 #----------------------------------#100 local TESTLOGFILE=$1101 (102 cat << EOF103 @echo "export TEST_LOG=\$(TESTLOGDIR)/$TESTLOGFILE" >> envars && \\104 echo "\$(nl_)\`date\`\$(nl_)" > \$(TESTLOGDIR)/\$@105 EOF106 ) >> $MKFILE.tmp107 }108 109 #----------------------------------#110 CHROOT_wrt_test_log() { #111 #----------------------------------#112 local TESTLOGFILE=$1113 (114 cat << EOF115 @echo "export TEST_LOG=\$(crTESTLOGDIR)/$TESTLOGFILE" >> envars && \\116 echo "\$(nl_)\`date\`\$(nl_)" > test-logs/\$@117 86 EOF 118 87 ) >> $MKFILE.tmp … … 153 122 ( 154 123 cat << EOF 155 @ source ~/.bashrc &&\$(CMDSDIR)/`dirname $file`/\$@ > logs/\$@ 2>&1124 @\$(CMDSDIR)/`dirname $file`/\$@ > logs/\$@ 2>&1 156 125 EOF 157 126 ) >> $MKFILE.tmp … … 164 133 ( 165 134 cat << EOF 166 @ source envars &&\$(crCMDSDIR)/`dirname $file`/\$@ > logs/\$@ 2>&1135 @\$(crCMDSDIR)/`dirname $file`/\$@ > logs/\$@ 2>&1 167 136 EOF 168 137 ) >> $MKFILE.tmp
Note:
See TracChangeset
for help on using the changeset viewer.