source: contrib/jhalfs-paco.patch@ ab7bac5

1.0 2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since ab7bac5 was f358747, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Updated paco patch.

  • Property mode set to 100644
File size: 17.6 KB
RevLine 
[059822c]1Index: LFS/master.sh
2===================================================================
[f358747]3--- LFS/master.sh (revision 2727)
[059822c]4+++ LFS/master.sh (working copy)
[8230977]5@@ -173,6 +173,11 @@
6 # Keep the script file name
7 this_script=`basename $file`
8
9+ # If $this_script corresponds to a paco script, then skip it
10+ case "${this_script}" in
11+ *paco) continue ;;
12+ esac
13+
14 # We'll run the chroot commands differently than the others, so skip them in the
15 # dependencies and target creation.
16 case "${this_script}" in
17@@ -180,6 +185,18 @@
[6821737]18 *stripping*) [[ "${STRIP}" = "0" ]] && continue ;;
19 esac
20
[4795dfb]21+ # Install paco as the first package in ch6, before installing
22+ # linux-libc-headers, except in iterartive builds
23+ if [[ -z "$N" ]]; then
24+ case $this_script in
25+ *linux-libc-headers)
[799b0d1]26+ TMP_SCRIPT="$this_script"
27+ this_script=`echo $this_script | sed -e 's/linux-libc-headers/a-paco/'`
28+ wrt_paco_inst "$this_script"
29+ this_script="$TMP_SCRIPT" ;;
[4795dfb]30+ esac
31+ fi
[6821737]32+
[4795dfb]33 # Grab the name of the target
34 name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@'`
35
[8230977]36@@ -223,7 +240,9 @@
[059822c]37 # and not to use chroot.
38 case "${this_script}" in
39 *kernfs) wrt_run_as_root "${this_script}" "$file" ;;
40- *) wrt_run_as_chroot1 "${this_script}" "$file" ;;
41+ *) wrt_paco_prep
42+ wrt_run_as_chroot1 "${this_script}" "$file"
43+ wrt_paco_log "$name" "$vrs" ;;
44 esac
45
46 # Remove the build directory(ies) except if the package build fails.
[8230977]47@@ -243,6 +262,16 @@
[4795dfb]48 PREV=${this_script}${N}
49 # Set system_build envar for iteration targets
50 system_build=$chapter6
[059822c]51+
[6821737]52+ # Reinstalling paco after readsjusting the toolchain.
[059822c]53+ case "${this_script}" in
[6821737]54+ *readjusting)
[799b0d1]55+ TMP_SCRIPT="$this_script"
56+ this_script=`echo ${this_script} | sed -e 's/readjusting/x-paco/'`
57+ wrt_paco_inst "$this_script"
58+ this_script="$TMP_SCRIPT" ;;
[059822c]59+ esac
60+
61 done # end for file in chapter06/*
62 }
63
[8230977]64@@ -304,6 +333,14 @@
[059822c]65 wrt_run_as_chroot2 "$this_script" "$file"
66 fi
67 ;;
68+ *kernel) wrt_paco_prep
69+ wrt_run_as_chroot2 "$this_script" "$file"
70+ wrt_paco_log "linux-kernel" "$vrs"
71+ ;;
72+ *bootscripts) wrt_paco_prep
73+ wrt_run_as_chroot2 "$this_script" "$file"
74+ wrt_paco_log "lfs-bootscripts" "$vrs"
75+ ;;
76 *) wrt_run_as_chroot2 "$this_script" "$file"
77 ;;
78 esac
79Index: LFS/lfs.xsl
80===================================================================
[f358747]81--- LFS/lfs.xsl (revision 2727)
[059822c]82+++ LFS/lfs.xsl (working copy)
83@@ -32,6 +32,9 @@
84 <!-- Locale settings -->
85 <xsl:param name="lang" select="en_CA"/>
86
87+ <!-- Use paco? -->
88+ <xsl:param name="use_paco" select="1"/>
89+
90 <xsl:template match="/">
91 <xsl:apply-templates select="//sect1"/>
92 </xsl:template>
93@@ -190,6 +193,33 @@
94 <xsl:apply-templates/>
95 <xsl:text> || true&#xA;</xsl:text>
96 </xsl:when>
97+ <!-- paco begin -->
98+ <!-- General rule -->
99+ <xsl:when test="$use_paco != '0' and
100+ ancestor::chapter[@id != 'chapter-temporary-tools'] and
101+ contains(string(),'make') and
102+ contains(string(),'install')">
103+ <xsl:text>export LD_PRELOAD=/usr/lib/libpaco-log.so&#xA;</xsl:text>
104+ <xsl:apply-templates/>
105+ <xsl:text>&#xA;</xsl:text>
106+ </xsl:when>
107+ <!-- Linux-libc-headers -->
108+ <xsl:when test="$use_paco != '0' and
109+ ancestor::sect1[@id='ch-system-linux-libc-headers'] and
110+ contains(string(),'install ')">
111+ <xsl:text>export LD_PRELOAD=/usr/lib/libpaco-log.so&#xA;</xsl:text>
112+ <xsl:apply-templates/>
113+ <xsl:text>&#xA;</xsl:text>
114+ </xsl:when>
115+ <!-- Unset LD_PRELOAD before second make in Zlib -->
116+ <xsl:when test="$use_paco != '0' and
117+ ancestor::sect1[@id='ch-system-zlib'] and
118+ contains(string(),'make clean')">
119+ <xsl:text>unset LD_PRELOAD&#xA;</xsl:text>
120+ <xsl:apply-templates/>
121+ <xsl:text>&#xA;</xsl:text>
122+ </xsl:when>
123+ <!-- paco end -->
124 <!-- The rest of commands -->
125 <xsl:otherwise>
126 <xsl:apply-templates/>
[799b0d1]127Index: common/paco-build-hlfs.sh
128===================================================================
129--- common/paco-build-hlfs.sh (revision 0)
130+++ common/paco-build-hlfs.sh (revision 0)
131@@ -0,0 +1,11 @@
132+#!/bin/sh
133+set -e
134+
135+cd $PKGDIR
136+./configure --with-pic \
137+ --disable-static \
138+ --disable-gpaco \
139+ --sysconfdir=/etc &&
140+make &&
141+make install &&
142+make logme
[059822c]143Index: common/config
144===================================================================
[f358747]145--- common/config (revision 2727)
[059822c]146+++ common/config (working copy)
[8230977]147@@ -84,6 +84,14 @@
[4795dfb]148 #--- Run farce testing 0(no)/1(yes)
149 RUN_FARCE=0
[d748b31]150
[059822c]151+#==== PACO VARIABLES ====
[4795dfb]152+#--- Use paco? 0(no)/1(yes)
[059822c]153+USE_PACO=1
[799b0d1]154+PACO_VERSION=1.10.7
[059822c]155+
156+#--- Name of the Paco source package
157+PACO_FILE=paco-$PACO_VERSION.tar.*
158+
[4795dfb]159 #==== INTERNAL VARIABLES ====
160 # Don't edit it unless you know what you are doing
161
[8230977]162@@ -96,3 +104,9 @@
[4795dfb]163
164 #--- farce report log directory
165 FARCELOGDIR=$LOGDIR/farce
166+
167+#--- Variables needed by paco
[059822c]168+PACO_INCLUDE=/
[4795dfb]169+PACO_EXCLUDE=/sys:/dev:/proc:/tmp:/usr/src:/usr/share/info/dir:/jhalfs
[059822c]170+PACO_TMPFILE=/tmp/paco.tmp
171+LD_PRELOAD=/usr/lib/libpaco-log.so
172Index: common/func_validate_configs.sh
173===================================================================
[f358747]174--- common/func_validate_configs.sh (revision 2727)
[059822c]175+++ common/func_validate_configs.sh (working copy)
[8230977]176@@ -84,9 +84,9 @@
[059822c]177 inline_doc
178
179 # First internal variables, then the ones that change the book's flavour, and lastly system configuration variables
[f358747]180- local -r hlfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE MODEL GRSECURITY_HOST TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL KEYMAP PAGE TIMEZONE LANG LC_ALL"
181- local -r clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE METHOD ARCH TARGET TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG GETKERNEL KEYMAP VIMLANG PAGE TIMEZONE LANG"
182- local -r lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG"
183+ local -r hlfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG RUNMAKE MODEL GRSECURITY_HOST TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL KEYMAP PAGE TIMEZONE LANG LC_ALL"
184+ local -r clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG RUNMAKE METHOD ARCH TARGET TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG GETKERNEL KEYMAP VIMLANG PAGE TIMEZONE LANG"
185+ local -r lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE USE_PACO GETPKG RUNMAKE TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG"
[059822c]186
187 local -r ERROR_MSG_pt1='The variable \"${L_arrow}${config_param}${R_arrow}\" value ${L_arrow}${BOLD}${!config_param}${R_arrow} is invalid,'
188 local -r ERROR_MSG_pt2=' check the config file ${BOLD}${GREEN}\<$(echo $PROGNAME | tr [a-z] [A-Z])/config\> or \<common/config\>${OFF}'
[f358747]189@@ -176,6 +176,7 @@
190 [[ "$GETPKG" = "1" ]] && validate_against_str "x0x x1x"
191 fi ;;
[4795dfb]192 RUNMAKE) validate_against_str "x0x x1x" ;;
193+ USE_PACO) validate_against_str "x0x x1x" ;;
194 REPORT) validate_against_str "x0x x1x"
195 if [[ "${!config_param}" = "1" ]]; then
196 if [[ `type -p bc` ]]; then
[059822c]197Index: common/paco-functions
198===================================================================
199--- common/paco-functions (revision 0)
200+++ common/paco-functions (revision 0)
[8230977]201@@ -0,0 +1,105 @@
[059822c]202+#!/bin/bash
203+
204+
205+#----------------------------#
206+wrt_paco_inst() { #
207+#----------------------------#
[d748b31]208+
209+# Not using Paco with uClibc, even if requested
210+if [ $PROGNAME = "hlfs" ]; then
211+ if [ $MODEL = "uclibc" ]; then
[6821737]212+ USE_PACO=0
[d748b31]213+ fi
214+fi
215+
216+if [ $USE_PACO != 0 ]; then
[6821737]217+ paco_script="$1"
218+ paco_file="chapter06/$paco_script"
219+ chapter6="$chapter6 $paco_script"
220+
221+ # Copy the paco build script to the correct directory and make it executable
[799b0d1]222+ cp $JHALFSDIR/paco-build-$PROGNAME.sh $JHALFSDIR/${PROGNAME}-commands/$paco_file &&
[6821737]223+ chmod +x $JHALFSDIR/${PROGNAME}-commands/$paco_file
[059822c]224+
225+ # Write target, dependency and unpack
[6821737]226+ wrt_target "$paco_script" "$PREV"
[059822c]227+ wrt_unpack2 "$PACO_FILE"
228+
229+ # Run the script
[6821737]230+ wrt_run_as_chroot1 "${paco_script}" "${paco_file}"
[059822c]231+
232+ # Clean up
[6821737]233+ wrt_remove_build_dirs "paco"
[059822c]234+ echo -e '\t@touch $@' >> $MKFILE.tmp
235+
236+ # Override the PREV variable
[6821737]237+ PREV="$paco_script"
[059822c]238+fi
239+}
240+
241+
242+#----------------------------------#
243+wrt_paco_prep() { # Export Paco variables
244+#----------------------------------# and remove tmpfile
[d748b31]245+
246+# Not using Paco with uClibc, even if requested
247+if [ $PROGNAME = "hlfs" ]; then
248+ if [ $MODEL = "uclibc" ]; then
[6821737]249+ USE_PACO=0
[d748b31]250+ fi
251+fi
252+
253+if [ $USE_PACO != 0 ] && [ "$vrs" != "" ]; then
[059822c]254+(
255+cat << EOF
256+ @echo "export PACO_INCLUDE=$PACO_INCLUDE" >> envars && \\
257+ echo "export PACO_EXCLUDE=\$(SRC):$JHALFSDIR:$PACO_EXCLUDE" >> envars && \\
258+ echo "export PACO_TMPFILE=$PACO_TMPFILE" >> envars && \\
259+ rm -f \$(MOUNT_PT)$PACO_TMPFILE
260+EOF
261+) >> $MKFILE.tmp
262+fi
263+}
264+
265+
266+#----------------------------------#
267+wrt_paco_log() { # If the tmpfile exist, then log the current package
268+#----------------------------------# and remove tempfile
[d748b31]269+local PACKAGE
270+
271+# Allow packages to be logged without version
272+if [[ $2 != "" ]] ; then
273+ PACKAGE="$1-$2";
274+else
275+ PACKAGE="$1"
276+fi
[059822c]277+
[d748b31]278+# Not using Paco with uClibc, even if requested
279+if [ $PROGNAME = "hlfs" ]; then
280+ if [ $MODEL = "uclibc" ]; then
[6821737]281+ USE_PACO=0
[059822c]282+ fi
[d748b31]283+fi
[059822c]284+
[d748b31]285+if [ $USE_PACO != 0 ] && [ "$vrs" != "" ]; then
[059822c]286+(
287+cat << EOF
288+ @if [ -e \$(MOUNT_PT)$PACO_TMPFILE ]; then \\
[4795dfb]289+ \$(CHROOT1) 'paco -lp+ $PACKAGE < $PACO_TMPFILE' && \\
[059822c]290+ rm -f \$(MOUNT_PT)$PACO_TMPFILE; \\
291+ fi;
292+EOF
293+) >> $MKFILE.tmp
294+fi
295+
[8230977]296+# Glibc uses 'sln' to install symlinks in /lib
297+# add these to the log since paco can't track statically linked executables
298+# Glibc is the first package to install into /lib, so a simple 'find' will suffice
299+if [ $USE_PACO != 0 ] && [ "$name" = "glibc" ]; then
[059822c]300+(
301+cat << EOF
[8230977]302+ @\$(CHROOT1) 'find /lib -type l | paco -lp+ $PACKAGE'
[059822c]303+EOF
[8230977]304+) >> $MKFILE.tmp
[059822c]305+fi
306+}
[799b0d1]307Index: common/paco-build-lfs.sh
[6821737]308===================================================================
[799b0d1]309--- common/paco-build-lfs.sh (revision 0)
310+++ common/paco-build-lfs.sh (revision 0)
[6821737]311@@ -0,0 +1,9 @@
312+#!/bin/sh
313+set -e
314+
315+cd $PKGDIR
316+./configure --disable-gpaco \
317+ --sysconfdir=/etc &&
318+make &&
319+make install &&
320+make logme
[059822c]321Index: common/common-functions
322===================================================================
[f358747]323--- common/common-functions (revision 2727)
[059822c]324+++ common/common-functions (working copy)
[d29584b]325@@ -65,6 +65,9 @@
[059822c]326 in the configuration file has the proper packages and patches for the
327 book version being processed.
328
329+${BOLD} --no-paco${OFF}
330+ dissables paco logging feature.
331+
[f3ae556]332 ${BOLD} -O, --optimize${OFF}
333 Optimize [0-2]
334 0 = no optimization
[8230977]335@@ -556,6 +559,7 @@
[059822c]336 --stringparam lc_all $LC_ALL \
337 --stringparam keymap $KEYMAP \
338 --stringparam grsecurity_host $GRSECURITY_HOST \
339+ --stringparam use_paco $USE_PACO \
340 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
341 ;;
342 lfs)
[8230977]343@@ -567,6 +571,7 @@
[059822c]344 --stringparam timezone $TIMEZONE \
345 --stringparam page $PAGE \
346 --stringparam lang $LANG \
347+ --stringparam use_paco $USE_PACO \
348 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
349 ;;
[8230977]350 *) exit 1 ;;
[059822c]351Index: HLFS/hlfs.xsl
352===================================================================
[f358747]353--- HLFS/hlfs.xsl (revision 2727)
[059822c]354+++ HLFS/hlfs.xsl (working copy)
355@@ -39,6 +39,9 @@
356 <xsl:param name="lang" select="en_CA"/>
357 <xsl:param name="lc_all" select="en_CA"/>
358
359+ <!-- Use paco? -->
360+ <xsl:param name="use_paco" select="1"/>
361+
362 <xsl:template match="/">
363 <xsl:apply-templates select="//sect1"/>
364 </xsl:template>
365@@ -191,6 +194,10 @@
366 <!-- Fixing bootscripts installation -->
367 <xsl:when test="ancestor::sect1[@id='bootable-bootscripts'] and
368 string() = 'make install'">
369+ <!-- inserting LD_PRELOAD before installing bootscripts -->
370+ <xsl:if test="$use_paco != '0' and $model != 'uclibc'">
371+ <xsl:text>export LD_PRELOAD=/usr/lib/libpaco-log.so&#xA;</xsl:text>
372+ </xsl:if>
373 <xsl:text>make install&#xA;</xsl:text>
374 <xsl:text>cd ../blfs-bootscripts-&blfs-bootscripts-version;&#xA;</xsl:text>
375 </xsl:when>
376@@ -248,6 +255,25 @@
377 <xsl:apply-templates/>
378 <xsl:text> || true&#xA;</xsl:text>
379 </xsl:when>
380+ <!-- paco begin -->
381+ <!-- General rule -->
382+ <xsl:when test="$use_paco != '0' and $model != 'uclibc' and
383+ ancestor::chapter[@id != 'chapter-temporary-tools'] and
384+ contains(string(),'make') and
385+ contains(string(),'install')">
386+ <xsl:text>export LD_PRELOAD=/usr/lib/libpaco-log.so&#xA;</xsl:text>
387+ <xsl:apply-templates/>
388+ <xsl:text>&#xA;</xsl:text>
389+ </xsl:when>
390+ <!-- Linux-libc-headers -->
391+ <xsl:when test="$use_paco != '0' and $model != 'uclibc' and
392+ ancestor::sect1[@id='ch-system-linux-libc-headers'] and
393+ contains(string(),'install ')">
394+ <xsl:text>export LD_PRELOAD=/usr/lib/libpaco-log.so&#xA;</xsl:text>
395+ <xsl:apply-templates/>
396+ <xsl:text>&#xA;</xsl:text>
397+ </xsl:when>
398+ <!-- paco end -->
399 <!-- The rest of commands -->
400 <xsl:otherwise>
401 <xsl:apply-templates/>
402Index: HLFS/master.sh
403===================================================================
[f358747]404--- HLFS/master.sh (revision 2727)
[059822c]405+++ HLFS/master.sh (working copy)
[8230977]406@@ -245,6 +245,11 @@
407 # Keep the script file name
408 this_script=`basename $file`
409
410+ # If this script is *-paco, then skip it
411+ case $this_script in
412+ *paco ) continue ;;
413+ esac
414+
415 # Skip this script depending on jhalfs.conf flags set.
416 case $this_script in
417 # We'll run the chroot commands differently than the others, so skip them in the
418@@ -254,6 +259,18 @@
[4795dfb]419 *-stripping* ) [[ "$STRIP" = "0" ]] && continue ;;
[6821737]420 esac
421
[4795dfb]422+ # Install paco as the first package in ch6, before installing
423+ # linux-libc-headers, except in iterartive builds
424+ if [[ -z "$N" ]]; then
425+ case $this_script in
426+ *linux-libc-headers)
[799b0d1]427+ TMP_SCRIPT="$this_script"
428+ this_script=`echo $this_script | sed -e 's/linux-libc-headers/a-paco/'`
429+ wrt_paco_inst "$this_script"
430+ this_script="$TMP_SCRIPT" ;;
[4795dfb]431+ esac
432+ fi
[6821737]433+
[4795dfb]434 # Grab the name of the target
435 name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@'`
436
[8230977]437@@ -324,7 +341,9 @@
[059822c]438 wrt_run_as_root "${this_script}" "${file}"
439 ;;
440 *) # The rest of Chapter06
441+ wrt_paco_prep
442 wrt_run_as_chroot1 "${this_script}" "${file}"
443+ wrt_paco_log "$name" "$vrs"
444 ;;
445 esac
446 #
[8230977]447@@ -357,6 +376,16 @@
[4795dfb]448 PREV=${this_script}${N}
449 # Set system_build envar for iteration targets
450 system_build=$chapter6
[059822c]451+
[6821737]452+ # Reinstall paco after the toolchain has been readjusted.
[059822c]453+ case "${this_script}" in
[6821737]454+ *readjusting)
[799b0d1]455+ TMP_SCRIPT="$this_script"
456+ this_script=`echo $this_script | sed -e 's/readjusting/x-paco/'`
457+ wrt_paco_inst "$this_script"
458+ this_script="$TMP_SCRIPT" ;;
[059822c]459+ esac
460+
461 done # end for file in chapter06/*
462
463 }
[8230977]464@@ -419,6 +448,15 @@
[059822c]465 wrt_run_as_chroot2 "${this_script}" "${file}"
466 fi
467 ;;
468+ *kernel) wrt_paco_prep
469+ wrt_run_as_chroot2 "$this_script" "$file"
470+ version=`grep "^linux-version" $JHALFSDIR/packages | sed -e 's/.* //' -e 's/"//g'`
471+ wrt_paco_log "linux-kernel" "$version"
472+ ;;
473+ *bootscripts) wrt_paco_prep
474+ wrt_run_as_chroot2 "$this_script" "$file"
475+ wrt_paco_log "hlfs-bootscripts"
476+ ;;
477 *) # All other scripts
478 wrt_run_as_chroot2 "${this_script}" "${file}"
479 ;;
[d748b31]480Index: master.sh
481===================================================================
[f358747]482--- master.sh (revision 2727)
[d748b31]483+++ master.sh (working copy)
[d29584b]484@@ -147,6 +147,8 @@
[d748b31]485
486 --help | -h ) usage | more && exit ;;
487
488+ --no-paco ) USE_PACO=0 ;;
489+
[f3ae556]490 --optimize | -O )
[d748b31]491 test $# = 1 && eval "$exit_missing_arg"
492 shift
[8230977]493@@ -438,6 +440,14 @@
[d29584b]494 [[ $VERBOSITY > 0 ]] && echo "OK"
495 fi
[f3ae556]496 #
[d29584b]497+# paco module
498+if [[ "$USE_PACO" = "1" ]]; then
499+ [[ $VERBOSITY > 0 ]] && echo -n "Loading paco module..."
500+ source $COMMON_DIR/paco-functions
501+ [[ $? > 0 ]] && echo "$COMMON_DIR/paco-functions did not load.." && exit 2
502+ [[ $VERBOSITY > 0 ]] && echo "OK"
503+fi
504+#
[f3ae556]505 # optimize module
506 if [[ "$OPTIMIZE" != "0" ]]; then
507 [[ $VERBOSITY > 0 ]] && echo -n "Loading optimization module..."
[8230977]508@@ -482,7 +492,11 @@
[da737cb]509 #
[d748b31]510 if [[ "$PWD" != "$JHALFSDIR" ]]; then
511 cp $COMMON_DIR/makefile-functions $JHALFSDIR/
[8230977]512+ #
513+ [[ $USE_PACO != "0" ]] && cp $COMMON_DIR/paco-build-$PROGNAME.sh $JHALFSDIR/
514+ #
[f3ae556]515 [[ "$OPTIMIZE" != "0" ]] && cp optimize/opt_override $JHALFSDIR/
[8230977]516+ #
[4795dfb]517 if [[ "$COMPARE" != "0" ]] ; then
518 mkdir -p $JHALFSDIR/extras
[8230977]519 cp extras/* $JHALFSDIR/extras
Note: See TracBrowser for help on using the repository browser.