- Timestamp:
- 07/02/2006 09:24:47 AM (18 years ago)
- Branches:
- 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- bb19ced
- Parents:
- bab90a1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/master.sh
rbab90a1 re2ec07a 11 11 host_prep_Makefiles() { # Initialization of the system 12 12 #----------------------------# 13 local LFS_HOST13 local CLFS_HOST 14 14 15 15 echo "${tab_}${GREEN}Processing... ${L_arrow}host prep files${R_arrow}" 16 16 17 17 # defined here, only for ease of reading 18 LFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`"18 CLFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`" 19 19 ( 20 20 cat << EOF … … 66 66 @echo "set +h" > /home/lfs/.bashrc && \\ 67 67 echo "umask 022" >> /home/lfs/.bashrc && \\ 68 echo " LFS=\$(MOUNT_PT)" >> /home/lfs/.bashrc && \\68 echo "CLFS=\$(MOUNT_PT)" >> /home/lfs/.bashrc && \\ 69 69 echo "LC_ALL=POSIX" >> /home/lfs/.bashrc && \\ 70 70 echo "PATH=/cross-tools/bin:/bin:/usr/bin" >> /home/lfs/.bashrc && \\ 71 echo "export LFS LC_ALL PATH" >> /home/lfs/.bashrc && \\71 echo "export CLFS LC_ALL PATH" >> /home/lfs/.bashrc && \\ 72 72 echo "" >> /home/lfs/.bashrc && \\ 73 73 echo "unset CFLAGS" >> /home/lfs/.bashrc && \\ 74 74 echo "unset CXXFLAGS" >> /home/lfs/.bashrc && \\ 75 75 echo "" >> /home/lfs/.bashrc && \\ 76 echo "export LFS_HOST=\"${LFS_HOST}\"" >> /home/lfs/.bashrc && \\77 echo "export LFS_TARGET=\"${TARGET}\"" >> /home/lfs/.bashrc && \\78 echo "export LFS_TARGET32=\"${TARGET32}\"" >> /home/lfs/.bashrc && \\76 echo "export CLFS_HOST=\"${CLFS_HOST}\"" >> /home/lfs/.bashrc && \\ 77 echo "export CLFS_TARGET=\"${TARGET}\"" >> /home/lfs/.bashrc && \\ 78 echo "export CLFS_TARGET32=\"${TARGET32}\"" >> /home/lfs/.bashrc && \\ 79 79 echo "source $JHALFSDIR/envars" >> /home/lfs/.bashrc 80 80 @chown lfs:lfs /home/lfs/.bashrc && \\ … … 168 168 *) ;; 169 169 esac 170 170 171 171 # 172 172 # First append each name of the script files to a list (this will become … … 1028 1028 -e 's|exit||g' \ 1029 1029 -e 's|$| -c|' \ 1030 -e 's|"$$ LFS"|$(MOUNT_PT)|'\1030 -e 's|"$$CLFS"|$(MOUNT_PT)|'\ 1031 1031 -e 's|set -e||'` 1032 1032 echo -e "CHROOT1= $chroot\n" >> $MKFILE
Note:
See TracChangeset
for help on using the changeset viewer.