No need to export variables as we're only using one Makefile

This commit is contained in:
Jeremy Huntwork 2005-10-03 03:33:19 +00:00
parent 8bb92e71d0
commit d7fd19506d
2 changed files with 10 additions and 10 deletions

View file

@ -1,9 +1,9 @@
export BRW= ""
export RED= ""
export GREEN= ""
export ORANGE= ""
export BLUE= ""
export WHITE= ""
BRW= ""
RED= ""
GREEN= ""
ORANGE= ""
BLUE= ""
WHITE= ""
define echo_message
@echo $(BRW)

8
jhalfs
View file

@ -524,9 +524,9 @@ build_Makefile() {
echo -e "$HEADER\n" > $MKFILE
# Add some variables and include the functions file
echo "export SRC := /sources" >> $MKFILE
echo "export LFS := $BUILDDIR" >> $MKFILE
echo -e "export LOGDIR := $LOGDIR\n" >> $MKFILE
echo "SRC= /sources" >> $MKFILE
echo "LFS= $BUILDDIR" >> $MKFILE
echo -e "LOGDIR= $LOGDIR\n" >> $MKFILE
echo -e "include functions\n" >> $MKFILE
# Add chroot commands
@ -534,7 +534,7 @@ build_Makefile() {
for file in chapter06/*chroot* ; do
chroot=`cat $file | sed -e '/#!\/bin\/sh/d' -e 's@ \\\@ @g' | tr -d '\n' | sed \
-e 's/ */ /g' -e 's|\\$|&&|g' -e 's|$| -c|'`
echo -e "export CHROOT$i := $chroot\n" >> $MKFILE
echo -e "CHROOT$i= $chroot\n" >> $MKFILE
i=`expr $i + 1`
done