Changeset 3ca2208 in clfs-embedded for BOOK/final-system
- Timestamp:
- Jul 15, 2007, 3:29:34 PM (17 years ago)
- Branches:
- master
- Children:
- 00b1e11
- Parents:
- 39a9ea5
- Location:
- BOOK/final-system
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/arm/busybox.xml
r39a9ea5 r3ca2208 72 72 xpointer="xpointer(//*[@os='h'])"/> 73 73 74 <screen os="i"><userinput>make ARCH=arm CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}" CONFIG_PREFIX="${CLFS}" install</userinput></screen> 74 <screen os="i"><userinput>make ARCH=arm CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}" \ 75 CONFIG_PREFIX="${CLFS}" install</userinput></screen> 75 76 76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/common/e2fsprogs.xml
r39a9ea5 r3ca2208 36 36 <para os="c">Prepare E2fsprogs for compilation:</para> 37 37 38 <screen os="d"><userinput>CC="${CC} ${BUILD} -Os" ../configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 39 --prefix=/usr --with-root-prefix="" --with-cc="${CC} ${BUILD} -Os" --with-linker=${LD}</userinput></screen> 38 <screen os="d"><userinput>CC="${CC} ${BUILD} -Os" ../configure --build=${CLFS_HOST} \ 39 --host=${CLFS_TARGET} --prefix=/usr --with-root-prefix="" \ 40 --with-cc="${CC} ${BUILD} -Os" --with-linker=${LD}</userinput></screen> 40 41 41 42 <variablelist os="e"> -
BOOK/final-system/common/toolchain.xml
r39a9ea5 r3ca2208 14 14 and linkers. This time we keep them:</para> 15 15 16 <screen><userinput> <literal>echo export CC=\""${CLFS_TARGET}-gcc\"">> ~/.bashrc17 echo export CXX=\""${CLFS_TARGET}-g++\"">> ~/.bashrc18 echo export AR=\""${CLFS_TARGET}-ar\"">> ~/.bashrc19 echo export AS=\""${CLFS_TARGET}-as\"">> ~/.bashrc20 echo export LD=\""${CLFS_TARGET}-ld\"">> ~/.bashrc21 echo export RANLIB=\""${CLFS_TARGET}-ranlib\"">> ~/.bashrc22 echo export READELF=\""${CLFS_TARGET}-readelf\"">> ~/.bashrc23 echo export STRIP=\""${CLFS_TARGET}-strip\"">> ~/.bashrc24 echo export BUILD=\""${BUILD}\"">> ~/.bashrc25 source ~/.bashrc</ literal></userinput></screen>16 <screen><userinput>echo <literal>export CC=\""${CLFS_TARGET}-gcc\""</literal> >> ~/.bashrc 17 echo <literal>export CXX=\""${CLFS_TARGET}-g++\""</literal> >> ~/.bashrc 18 echo <literal>export AR=\""${CLFS_TARGET}-ar\""</literal> >> ~/.bashrc 19 echo <literal>export AS=\""${CLFS_TARGET}-as\""</literal> >> ~/.bashrc 20 echo <literal>export LD=\""${CLFS_TARGET}-ld\""</literal> >> ~/.bashrc 21 echo <literal>export RANLIB=\""${CLFS_TARGET}-ranlib\""</literal> >> ~/.bashrc 22 echo <literal>export READELF=\""${CLFS_TARGET}-readelf\""</literal> >> ~/.bashrc 23 echo <literal>export STRIP=\""${CLFS_TARGET}-strip\""</literal> >> ~/.bashrc 24 echo <literal>export BUILD=\""${BUILD}\""</literal> >> ~/.bashrc 25 source ~/.bashrc</userinput></screen> 26 26 27 27 </sect1> -
BOOK/final-system/mips/busybox.xml
r39a9ea5 r3ca2208 72 72 xpointer="xpointer(//*[@os='h'])"/> 73 73 74 <screen os="i"><userinput>make ARCH=mips CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}" CONFIG_PREFIX="${CLFS}" install</userinput></screen> 74 <screen os="i"><userinput>make ARCH=mips CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}" \ 75 CONFIG_PREFIX="${CLFS}" install</userinput></screen> 75 76 76 77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/x86/busybox.xml
r39a9ea5 r3ca2208 58 58 59 59 <screen os="e"><userinput>BUSYBOX_OPTIONS="CONFIG_DMALLOC CONFIG_BUILD_AT_ONCE CONFIG_BUILD_LIBBUSYBOX 60 CONFIG_FEATURE_SH_IS_NONE CONFIG_LOCALE_SUPPORT CONFIG_TFTP CONFIG_FTPGET CONFIG_FTPPUT 61 CONFIG_IPCALC CONFIG_TFTP CONFIG_HUSH CONFIG_LASH CONFIG_MSH CONFIG_INETD CONFIG_DPKG 62 CONFIG_RPM2CPIO CONFIG_RPM CONFIG_FOLD CONFIG_LOGNAME CONFIG_OD CONFIG_CRONTAB 63 CONFIG_UUDECODE CONFIG_UUENCODE CONFIG_SULOGIN CONFIG_DC CONFIG_DEBUG_YANK_SUSv2 64 CONFIG_DEBUG_INIT CONFIG_DEBUG_CROND_OPTION CONFIG_FEATURE_UDHCP_DEBUG CONFIG_TASKSET 65 CONFIG_CHATTR CONFIG_FSCK CONFIG_LSATTR CONFIG_CHPST CONFIG_SETUIDGID 66 CONFIG_ENVUIDGID CONFIG_ENVDIR CONFIG_SOFTLIMIT CONFIG_FEATURE_2_4_MODULES" 60 CONFIG_FEATURE_SH_IS_NONE CONFIG_LOCALE_SUPPORT CONFIG_TFTP CONFIG_FTPGET 61 CONFIG_FTPPUT CONFIG_IPCALC CONFIG_TFTP CONFIG_HUSH CONFIG_LASH 62 CONFIG_MSH CONFIG_INETD CONFIG_DPKG CONFIG_RPM2CPIO CONFIG_RPM 63 CONFIG_FOLD CONFIG_LOGNAME CONFIG_OD CONFIG_CRONTAB CONFIG_UUDECODE 64 CONFIG_UUENCODE CONFIG_SULOGIN CONFIG_DC CONFIG_DEBUG_YANK_SUSv2 65 CONFIG_DEBUG_INIT CONFIG_DEBUG_CROND_OPTION CONFIG_FEATURE_UDHCP_DEBUG 66 CONFIG_TASKSET CONFIG_CHATTR CONFIG_FSCK CONFIG_LSATTR CONFIG_CHPST 67 CONFIG_SETUIDGID CONFIG_ENVUIDGID CONFIG_ENVDIR CONFIG_SOFTLIMIT 68 CONFIG_FEATURE_2_4_MODULES" 67 69 for config in $BUSYBOX_OPTIONS; do 68 69 70 cp .config{,.orig} 71 sed -e "s:${config}=y:${config}=n:" .config.orig > .config 70 72 done 71 BUSYBOX_OPTIONS="CONFIG_FEATURE_SH_IS_ASH CONFIG_FEATURE_TRACEROUTE_VERBOSE CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE" 73 BUSYBOX_OPTIONS="CONFIG_FEATURE_SH_IS_ASH CONFIG_FEATURE_TRACEROUTE_VERBOSE 74 CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE" 72 75 for config in $BUSYBOX_OPTIONS; do 73 74 76 cp .config{,.orig} 77 sed -e "s:# ${config} is not set:${config}=y:" .config.orig > .config 75 78 done</userinput></screen> 76 79 … … 81 84 <para os="h">Install the package:</para> 82 85 83 <screen os="i"><userinput>make ARCH=i386 CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}" CONFIG_PREFIX="${CLFS}" install</userinput></screen> 86 <screen os="i"><userinput>make ARCH=i386 CROSS_COMPILE="${CLFS_TARGET}-" CFLAGS="${BUILD}" \ 87 CONFIG_PREFIX="${CLFS}" install</userinput></screen> 84 88 85 89 <para os="j">If your going to build your kernel with modules, you will need to make 86 sure depmod.plis available:</para>90 sure <command>depmod.pl</command> is available:</para> 87 91 88 92 <screen os="k"><userinput>cp examples/depmod.pl ${CLFS}/cross-tools/bin
Note:
See TracChangeset
for help on using the changeset viewer.