- Timestamp:
- Feb 4, 2007, 1:59:29 PM (18 years ago)
- Branches:
- master
- Children:
- 2704249
- Parents:
- 1603a9d
- Location:
- BOOK
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/beyond-clfs3/common/iptables.xml
r1603a9d r8550e7a 28 28 <para os="a">Compile the package:</para> 29 29 30 <screen os="b"><userinput>make CC="${CC} ${BUILD} 30 <screen os="b"><userinput>make CC="${CC} ${BUILD}" COPT_FLAGS="-Os" LD=${LD} DO_MULTI=1 PREFIX=/usr \ 31 31 LIBDIR=/lib BINDIR=/sbin</userinput></screen> 32 32 -
BOOK/cross-tools/x86/uclibc-headers.xml
r1603a9d r8550e7a 47 47 xpointer="xpointer(//*[@os='h'])"/> 48 48 49 <screen os="i"><userinput>cp .config .config.orig49 <screen os="i"><userinput>cp .config{,.orig} 50 50 sed -e "/^KERNEL_HEADERS/s:=.*:=\"${CLFS}/usr/include\":" \ 51 51 -e "/^SHARED_LIB_LOADER_PREFIX/s:=.*:=\"/lib\":" \ -
BOOK/cross-tools/x86/uclibc.xml
r1603a9d r8550e7a 33 33 so that the headers will be copied instead:</para> 34 34 35 <screen os="d"><userinput>cp Makefile Makefile.orig35 <screen os="d"><userinput>cp Makefile{,.orig} 36 36 sed -e 's/$(LN) -fs/cp/g' Makefile.orig > Makefile 37 37 for file in `find libc/sysdeps/linux -name Makefile`; do 38 cp $file $file.orig38 cp $file{,.orig} 39 39 sed -e 's/$(LN) -fs/cp/g' -e 's@../libc/@$(TOPDIR)libc/@g' $file.orig > $file 40 40 done</userinput></screen> … … 53 53 compiled and put into its proper location:</para> 54 54 55 <screen os="i"><userinput>cp .config .config.orig55 <screen os="i"><userinput>cp .config{,.orig} 56 56 sed -e "/^CROSS_COMPILER_PREFIX/s:=.*:=\"${CLFS_TARGET}-\":" \ 57 57 -e "/^KERNEL_HEADERS/s:=.*:=\"${CLFS}/usr/include\":" \ … … 69 69 UCLIBC_USE_NETLINK LDSO_PRELOAD_FILE_SUPPORT" 70 70 for config in $UCLIBC_OPTIONS; do 71 cp .config .config.orig71 cp .config{,.orig} 72 72 sed -e "s:# ${config} is not set:${config}=y:" .config.orig > .config 73 73 done -
BOOK/final-system/common/zlib.xml
r1603a9d r8550e7a 30 30 <screen os="p2"><userinput>patch -Np1 -i ../&zlib-destdir-patch;</userinput></screen> 31 31 32 <para os="a"> Prepare Zlib for compilation:</para>32 <para os="a">Change the default optimization to Os</para> 33 33 34 <screen os="b"><userinput>CC="${CC} ${BUILD}" ./configure --prefix=/usr --shared</userinput></screen> 34 <screen os="b"><userinput>cp configure{,.orig} 35 sed -e 's/-O3/-Os/g' configure.orig > configure</userinput></screen> 36 37 <para os="c">Prepare Zlib for compilation:</para> 38 39 <screen os="d"><userinput>CC="${CC} ${BUILD}" ./configure --prefix=/usr --shared</userinput></screen> 35 40 36 41 <variablelist os="aa"> -
BOOK/final-system/x86/busybox.xml
r1603a9d r8550e7a 66 66 CONFIG_ENVUIDGID CONFIG_ENVDIR CONFIG_SOFTLIMIT CONFIG_FEATURE_2_4_MODULES" 67 67 for config in $BUSYBOX_OPTIONS; do 68 cp .config .config.orig68 cp .config{,.orig} 69 69 sed -e "s:${config}=y:${config}=n:" .config.orig > .config 70 70 done 71 71 BUSYBOX_OPTIONS="CONFIG_FEATURE_SH_IS_ASH CONFIG_FEATURE_TRACEROUTE_VERBOSE CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE" 72 72 for config in $BUSYBOX_OPTIONS; do 73 cp .config .config.orig73 cp .config{,.orig} 74 74 sed -e "s:# ${config} is not set:${config}=y:" .config.orig > .config 75 75 done</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.