Changeset 2000
- Timestamp:
- 08/01/07 11:22:23 (1 year ago)
- Files:
-
- trunk/Makefile (modified) (9 diffs)
- trunk/etc/bashrc (modified) (1 diff)
- trunk/isolinux/boot.msg (modified) (1 diff)
- trunk/isolinux/options.msg (modified) (1 diff)
- trunk/packages/LFS-BOOK/Makefile (modified) (2 diffs)
- trunk/packages/Mesa/Makefile (modified) (1 diff)
- trunk/packages/bin86/Makefile (modified) (2 diffs)
- trunk/packages/binutils/Makefile (modified) (3 diffs)
- trunk/packages/gcc/Makefile (modified) (3 diffs)
- trunk/packages/gcc33/Makefile (modified) (1 diff)
- trunk/packages/glibc/Makefile (modified) (1 diff)
- trunk/packages/initramfs/Makefile (modified) (2 diffs)
- trunk/packages/initramfs/init.in (modified) (2 diffs)
- trunk/packages/libjpeg/Makefile (modified) (2 diffs)
- trunk/packages/linux/Makefile (modified) (1 diff)
- trunk/packages/linux64/Makefile (modified) (2 diffs)
- trunk/packages/linux64/build-nvidia-driver.native (added)
- trunk/packages/linux64/fakes-for-fglrx/gcc (modified) (1 diff)
- trunk/packages/linux64/fakes-for-fglrx/ld (modified) (1 diff)
- trunk/packages/linux64/fakes-for-fglrx/objdump (modified) (1 diff)
- trunk/packages/traceroute/Makefile (modified) (2 diffs)
- trunk/packages/unzip/Makefile (modified) (1 diff)
- trunk/packages/vbetool/Makefile (modified) (1 diff)
- trunk/packages/zlib/Makefile (modified) (1 diff)
- trunk/scripts/shutdown-helper (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Makefile
r1999 r2000 13 13 # 14 14 15 # Machine architecure, LiveCD version, and specific arch variables.16 #==============================================================================17 18 15 # Place your personal customizations in Makefile.personal 19 16 # instead of editing this Makefile. … … 22 19 -include Makefile.personal 23 20 24 #============================================================================== 25 26 # Here are the various variables you might want/need to change. You can change 27 # them here or in Makefile.personal. Variables mentioned in the README will not 28 # be commented on here. 21 # Here are the various variables you might want/need to change. 22 # Variables mentioned in the README will not be commented on here. 29 23 30 24 export MPBASE ?= /mnt/lfs … … 33 27 ROOTFS_MEGS := 1536 34 28 35 export VERSION ?= x86-6.3-pre2 36 export CFLAGS ?= -O2 -pipe -s -fno-strict-aliasing -mtune=i686 29 # Machine architecure, LiveCD version, and specific arch variables. 30 #============================================================================== 31 32 export CD_ARCH := $(shell uname -m | sed 's|i[3456]|x|') 33 export VERSION ?= $(CD_ARCH)-6.3-pre2 34 export CFLAGS ?= -O2 -pipe -s -fno-strict-aliasing 35 36 ifeq ($(CD_ARCH),x86) 37 export LFS_TARGET ?= i486-pc-linux-gnu 38 export CFLAGS := $(CFLAGS) -mtune=i686 39 export LINKER := ld-linux.so.2 40 endif 41 42 ifeq ($(CD_ARH),x86_64) 43 export 64bit = true 44 export LFS_TARGET ?= $(MACHTYPE) 45 export LINKER := ld-linux-x86-64.so.2 46 endif 47 37 48 export CXXFLAGS ?= $(CFLAGS) 38 export LFS_TARGET ?= i486-pc-linux-gnu39 40 49 41 50 # Default timezone … … 102 111 @if [ `whoami` != "root" ] ; then \ 103 112 echo "You must be logged in as root." && exit 1 ; fi 113 114 test-env: 115 env 104 116 105 117 # This image should be kept as clean as possible, i.e.: … … 162 174 -ln -s /proc/kcore $(MP)/dev/core 163 175 touch $(MKTREE) 176 ifdef 64bit 177 -if [ ! -L $(MP)/lib64 ] ; then ln -s lib $(MP)/lib64 ; fi 178 -if [ ! -L $(MP)/usr/lib64 ] ; then ln -s lib $(MP)/usr/lib64 ; fi 179 endif 164 180 165 181 # This target builds just a base LFS system, minus the kernel and bootscripts … … 264 280 ch-dhcpcd ch-distcc ch-ppp ch-rp-pppoe ch-pptp \ 265 281 ch-cpio ch-mutt ch-msmtp ch-tin ch-mdadm ch-which ch-brltty \ 266 ch-strace ch-iptables ch-eject ch-xlockmore ch-hdparm ch-linux\282 ch-strace ch-iptables ch-eject ch-xlockmore ch-hdparm \ 267 283 ch-sysfsutils ch-pcmcia-cs ch-pcmciautils ch-ddccontrol ch-ddccontrol-db \ 268 284 ch-blfs-bootscripts ch-oui-data \ … … 270 286 ch-anthy ch-scim ch-scim-tables ch-scim-anthy ch-libhangul ch-scim-hangul \ 271 287 ch-libchewing ch-scim-chewing ch-scim-pinyin ch-scim-input-pad \ 272 ch-hibernate-script ch-slang ch-mc \ 273 ch-fuse ch-dosfstools ch-ntfsprogs ch-libaal ch-reiser4progs \ 274 ch-vbetool ch-bin86 ch-grub ch-lilo ch-syslinux \ 275 ch-binutils64 ch-gcc64 ch-linux64 ch-scsi-firmware ch-net-firmware \ 276 ch-initramfs ch-gcc33 288 ch-hibernate-script ch-slang ch-mc ch-fuse ch-dosfstools ch-ntfsprogs \ 289 ch-libaal ch-reiser4progs ch-vbetool ch-bin86 ch-lilo ch-syslinux \ 290 ch-scsi-firmware ch-net-firmware 291 ifeq ($(CD_ARCH),x86) 292 make ch-grub 293 make ch-linux 294 make ch-binutils64 295 make ch-gcc64 296 endif 297 make ch-linux64 298 make ch-initramfs 299 make ch-gcc33 277 300 make update-caches 278 301 … … 361 384 362 385 update-caches: 363 cd /usr/share/fonts ; mkfontscale ; mkfontdir ; fc-cache -f364 386 mandb -c 2>/dev/null 365 387 echo 'dummy / ext2 defaults 0 0' >/etc/mtab … … 379 401 @>$(MP)/var/log/wtmp 380 402 @>$(MP)/var/log/lastlog 381 @install -m644 isolinux/{isolinux.cfg,*.msg,splash.lss} $(MP)/boot/isolinux 403 @install -m644 isolinux/{isolinux.cfg,splash.lss} $(MP)/boot/isolinux 404 ifeq ($(CD_ARCH),x86_64) 405 @sed -i -e '/linux64/d' -e 's/ 32-bit//' $(MP)/boot/isolinux/options.msg 406 @sed -i '/linux64/,$$d' $(MP)/boot/isolinux/isolinux.cfg 407 endif 382 408 @sed -i "s/Version:/Version: $(VERSION)/" $(MP)/boot/isolinux/boot.msg 383 409 @sed -i "s/Version:/Version: $(VERSION)/" $(MP)/etc/issue* trunk/etc/bashrc
r1874 r2000 13 13 BOLD=$WHITE ;; 14 14 *) 15 BOLD="\[\033[0; 38m\]" ;;15 BOLD="\[\033[0;1m\]" ;; 16 16 esac 17 17 trunk/isolinux/boot.msg
r1574 r2000 2 2 splash.lss 3 3 07This is the Official LFS LiveCD, Version: 4 07Press [Enter] to boot or press F1 for more options.4 07Press [Enter] to boot, F1 for basic options 5 5 trunk/isolinux/options.msg
r1769 r2000 1 7007To use a framebuffer console, type "linux vga=xxx"2 where xxx denotes a screen resolution and color depth. 3 This has nothing to do with X server resolution, and bug reports 4 about X window system will be ignored if you pass this parameter. 1 7007To specify options at boot time, type [kernel] [options] 2 Available kernels: 3 linux - The default 32-bit kernel 4 linux64 - A 64-bit kernel for use with CLFS 5 5 6 Examples: 6 Basic options: 7 vga=[res] 8 Examples: 9 vga=795 (1280x1024x24) vga=794 (1280x1024x16) 10 vga=792 (1024x768x24) vga=791 (1024x768x16) 11 vga=789 (800x600x24) vga=788 (800x600x16) 7 12 8 795 = 1280x1024x24 794 = 1280x1024x16 9 792 = 1024x768x24 791 = 1024x768x16 10 789 = 800x600x24 788 = 800x600x16 13 NOTE: This is for the framebuffer console and has nothing 14 to do with X server resolution. 11 15 12 A 64-bit kernel for use with CLFS is available as "linux64" 16 TZ=[timezone] 17 Examples: 18 TZ=EDT-4 TZ=America/New_York 13 19 14 To set your timezone, add TZ=your_timezone anywhere 15 after "linux" or "linux.ata". For example, TZ=EDT+4 means that the 16 timezone is named "EDT" and is 4 hours behind (west) of UTC. 17 Specifications like TZ=America/New_York also work. 18 Also, add UTC=1 if the hardware clock in your computer 19 is set to UTC instead of local time. 20 The first example means that the timezone is named "EDT" 21 and is 4 hours behind (west) of UTC. 20 22 21 Set your locale by adding LANG=your_locale anywhere after "linux". 23 UTC=[0,1] 24 Use UTC=1 if the hardware clock is set to UTC or 25 use UTC=0 if the hardware clock is set to local time. 26 27 LANG=[locale] 22 28 23 29 If you don't specify your timezone or locale at the boot prompt, 24 30 a configuration dialog will appear later during boot. 25 31 26 More information is available in /root/README on this CD.27 trunk/packages/LFS-BOOK/Makefile
r1969 r2000 11 11 #SHA-$(FILE)= 729bcf04d8e4ed0af3c58daf0d289e94d6385052 12 12 13 REV= 82 2513 REV= 8250 14 14 REVPARM= -r $(REV) 15 15 16 ifeq ($(CD_ARCH),x86) 16 17 URL= svn://svn.linuxfromscratch.org/LFS/trunk/BOOK 18 endif 19 ifeq ($(CD_ARCH),x86_64) 20 URL= svn://svn.linuxfromscratch.org/LFS/branches/x86_64/BOOK 21 endif 17 22 18 23 SEAMONKEY_CONFIG= $(ROOT)/root/.mozilla/default/79exklwh.slt/prefs.js … … 47 52 clean: 48 53 -rm -rf tmp 54 -rm -rf $(ROOT)/root/tmp 49 55 50 56 .PHONY: clean chroot compile-stage2 trunk/packages/Mesa/Makefile
r1817 r2000 26 26 compile-stage2: 27 27 unpack ../$(FILE1) --strip-components=1 28 ifeq ($(CD_ARCH),x86) 28 29 make linux-dri-x86 OPT_FLAGS="$(CFLAGS)" MKDEP="gccmakedep" INSTALL_DIR=/usr DRI_DRIVER_INSTALL_DIR=/usr/lib/dri 30 endif 31 ifeq ($(CD_ARCH),x86_64) 32 make linux-dri-x86-64 OPT_FLAGS="$(CFLAGS)" MKDEP="gccmakedep" INSTALL_DIR=/usr DRI_DRIVER_INSTALL_DIR=/usr/lib/dri 33 endif 29 34 make INSTALL_DIR=/usr DRI_DRIVER_INSTALL_DIR=/usr/lib/dri install 30 35 sed -i 's@-l$$(GLUT_LIB)@@g' configs/default trunk/packages/bin86/Makefile
r1884 r2000 9 9 SHA-$(FILE)= 656f06b4b26d08412132e338baa25e42d713eeec 10 10 11 PATCH= $(DIR)-x86_64-1.patch 12 URL-$(PATCH)= http://svn.cross-lfs.org/svn/repos/cross-lfs/trunk/patches/$(PATCH) 13 SHA-$(PATCH)= 2c967c062fbee4e40ca1bf55feec2033e132e0a9 14 11 15 # Targets 12 16 … … 17 21 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 18 22 19 stage2: Makefile $(FILE) 23 stage2: Makefile $(FILE) $(PATCH) 20 24 $(std_build) 21 25 22 26 compile-stage2: 27 ifeq ($(CD_ARCH),x86_64) 28 patch -Np1 -i ../$(PATCH) 29 endif 23 30 make PREFIX=/usr MANDIR=/usr/share/man/man1 24 31 make PREFIX=/usr MANDIR=/usr/share/man/man1 install trunk/packages/binutils/Makefile
r1835 r2000 25 25 unset CFLAGS ; make -C ld LIB_PATH=$(WD)/lib 26 26 cp -v ld/ld-new $(WD)/bin 27 ifdef 64bit 28 ln -s lib $(WD)/lib64 29 endif 27 30 28 31 adjust-toolchain: … … 31 34 mv -v $(WD)/bin/{ld-new,ld} 32 35 ln -sv $(WD)/bin/ld $(WD)/$$(gcc -dumpmachine)/bin/ld 33 gcc -dumpspecs | sed 's@ ^/lib/ld-linux.so.2@/tools&@g' \36 gcc -dumpspecs | sed 's@/lib[64]*/$(LINKER)@/tools&@g' \ 34 37 > `dirname $$(gcc -print-libgcc-file-name)`/specs 35 38 GCC_INCLUDEDIR=`dirname $$(gcc -print-libgcc-file-name)`/include && \ … … 61 64 mv -v $(WD)/bin/{ld-new,ld} 62 65 ln -sv $(WD)/bin/ld $(WD)/$$(gcc -dumpmachine)/bin/ld 63 gcc -dumpspecs | sed \ 64 -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' \ 66 gcc -dumpspecs | sed -e 's@/tools@@g' \ 65 67 -e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \ 66 68 -e '/\*cpp:/{n;s@$$@ -isystem /usr/include@}' > \ trunk/packages/gcc/Makefile
r1966 r2000 26 26 unset CFLAGS ; CC="gcc -B/usr/bin/" ../$(DIR)/configure --prefix=$(WD) \ 27 27 --with-local-prefix=$(WD) --disable-nls --enable-shared \ 28 --enable-languages=c --enable-static 28 --enable-languages=c --enable-static --disable-multilib 29 29 unset CFLAGS ; make bootstrap 30 30 unset CFLAGS ; make install … … 41 41 > gcc/Makefile.in 42 42 cd ../$(DIR) ; patch -Np1 -i ../$(PATCH1) 43 ifdef 64bit 44 cd ../$(DIR) ; cp -v gcc/config/i386/t-linux64{,.tmp} && \ 45 sed '/MULTILIB_OSDIRNAMES/d' gcc/config/i386/t-linux64.tmp \ 46 > gcc/config/i386/t-linux64 47 endif 43 48 # --enable-static overrides the unsuitable default in config.site 44 49 ../$(DIR)/configure --prefix=$(WD) \ 45 50 --with-local-prefix=$(WD) --enable-clocale=gnu --enable-shared \ 46 51 --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ \ 47 --disable-libstdcxx-pch --enable-static 52 --disable-libstdcxx-pch --enable-static --disable-multilib 48 53 make 49 54 make install … … 66 71 ../$(DIR)/configure --prefix=/usr --libexecdir=/usr/lib \ 67 72 --enable-shared --enable-threads=posix --enable-__cxa_atexit \ 68 --enable-clocale=gnu --enable-languages=c,c++ --enable-static 73 --enable-clocale=gnu --enable-languages=c,c++ --enable-static \ 74 --disable-multilib 69 75 make 70 76 -make -k check trunk/packages/gcc33/Makefile
r1670 r2000 35 35 --enable-shared --enable-threads=posix --enable-__cxa_atexit \ 36 36 --enable-clocale=gnu --enable-languages=c,c++ --enable-static \ 37 --build=$(LFS_TARGET) --host=$(LFS_TARGET) --target=$(LFS_TARGET) 37 --build=$(LFS_TARGET) --host=$(LFS_TARGET) --target=$(LFS_TARGET) \ 38 --disable-multilib 38 39 make bootstrap 39 40 cp -av $(LFS_TARGET)/libstdc++-v3/src/.libs/libstdc++.so.5* /usr/lib trunk/packages/glibc/Makefile
r1969 r2000 51 51 cd ../$(DIR) ; unpack ../$(FILE2) ; mv glibc-libidn-$(VRS) libidn 52 52 sed -i \ 53 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ ld-linux.so.2-o|' \53 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/$(LINKER) -o|' \ 54 54 ../$(DIR)/scripts/test-installation.pl 55 55 # LiveCD specific locale additions trunk/packages/initramfs/Makefile
r1999 r2000 21 21 compile-stage2: 22 22 mkdir -p $(WDIR)/{bin,dev,etc/udev/rules.d,lib/firmware,sbin,sys,proc} 23 ifdef 64bit 24 ln -s lib $(WDIR)/lib64 25 endif 23 26 cp /etc/udev/udev.conf $(WDIR)/etc/udev/udev.conf 24 27 cp /etc/udev/rules.d/{05-*,2*,60-*} $(WDIR)/etc/udev/rules.d … … 30 33 mknod -m 664 $(WDIR)/dev/null c 1 3 31 34 cp /bin/{sh,dd,cat,cp,killall,mkdir,mount,umount,sed,sleep,ln,rm,uname} $(WDIR)/bin 32 cp /lib/{libblkid.so.1,libc.so.6,libdl.so.2, ld-linux.so.2} $(WDIR)/lib35 cp /lib/{libblkid.so.1,libc.so.6,libdl.so.2,$(LINKER)} $(WDIR)/lib 33 36 cp /lib/{libncursesw.so.5,libreadline.so.5,libhistory.so.5} $(WDIR)/lib 34 37 cp /lib/{libpthread.so.0,librt.so.1,libuuid.so.1} $(WDIR)/lib trunk/packages/initramfs/init.in
r1969 r2000 18 18 nodhcp=0 19 19 cdtype= 20 21 case `uname -m` in 22 i[3456]86) LINKER="ld-linux.so.2" ;; 23 24 x86_64) LINKER="ld-linux-x86-64.so.2" ;; 25 esac 20 26 21 27 find_cd() { … … 339 345 # Clean up and free some memory 340 346 rm -rf /bin /sbin /lib /sys /proc /dev /.tmpfs /init /fakecd.iso.head 341 ./lib/ ld-linux.so.2--library-path ./lib ./bin/mount -n --move . /342 exec ../lib/ ld-linux.so.2--library-path ./lib ./usr/sbin/chroot . "$init" "$@"347 ./lib/${LINKER} --library-path ./lib ./bin/mount -n --move . / 348 exec ../lib/${LINKER} --library-path ./lib ./usr/sbin/chroot . "$init" "$@" trunk/packages/libjpeg/Makefile
r1871 r2000 9 9 SHA-$(FILE)= 0b4ef1e7dcee85e631a958b1ea493b6b0f2f2250 10 10 11 PATCH= $(DIR)-config_update-1.patch 12 URL-$(PATCH)= http://svn.cross-lfs.org/svn/repos/patches/jpeg/$(PATCH) 13 SHA-$(PATCH)= 5d99bf64e42500b7c357684ed153ad5ecbaa3c2c 14 11 15 # Targets 12 16 … … 17 21 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 18 22 19 stage2: Makefile $(FILE) 23 stage2: Makefile $(FILE) $(PATCH) 20 24 $(std_build) 21 25 22 compile-stage2: 26 compile-stage2: 27 patch -Np1 -i ../$(PATCH) 23 28 ./configure --prefix=/usr --enable-static --enable-shared 24 29 make trunk/packages/linux/Makefile
r1999 r2000 48 48 zcat ../$(PATCH1) | patch -Np1 49 49 patch -Np1 -i ../$(PATCH3) 50 mkdir -p/boot/isolinux50 install -d /boot/isolinux 51 51 make mrproper 52 52 cp ../config.x86 .config trunk/packages/linux64/Makefile
r1999 r2000 48 48 zcat ../$(PATCH1) | patch -Np1 49 49 patch -Np1 -i ../$(PATCH3) 50 install -d /boot/isolinux 50 51 make mrproper 51 52 cp ../config.x86_64 .config 52 53 # Hack for fglrx 53 54 touch include/linux/ioctl32.h 55 ifeq ($(CD_ARCH),x86) 54 56 PATH=$$PATH:$(WD)/bin make ARCH=x86_64 CROSS_COMPILE=x86_64-unknown-linux-gnu- 55 57 PATH=$$PATH:$(WD)/bin make modules_install ARCH=x86_64 CROSS_COMPILE=x86_64-unknown-linux-gnu- … … 63 65 rm /lib/modules/*-64bit/{source,build} 64 66 cp -v arch/x86_64/boot/bzImage /boot/isolinux/linux64 67 endif 68 ifeq ($(CD_ARCH),x86_64) 69 make 70 make modules_install 71 sed 's/VERSION/$(VRS)/' ../fakes-for-fglrx/uname.in >../fakes-for-fglrx/uname 72 sed 's/VERSION/$(VRS)/' ../fakes-for-fglrx/cat.in >../fakes-for-fglrx/cat 73 chmod 755 ../fakes-for-fglrx/{uname,cat} 74 PATH=$$PWD/../fakes-for-fglrx:$$PATH sh ../$(FILE1) --buildpkg Slackware/All 75 for a in $(DIR2) $(DIR3) $(DIR4) ; do \ 76 sh ../$$a.run -x ; ../build-nvidia-driver.native $$a $(VRS)-64bit ; done 77 mv *.tgz /drivers 78 rm /lib/modules/*-64bit/{source,build} 79 cp -v arch/x86_64/boot/bzImage /boot/isolinux/linux 80 endif 65 81 66 82 clean: trunk/packages/linux64/fakes-for-fglrx/gcc
r1935 r2000 5 5 ;; 6 6 *) 7 /tools/bin/x86_64-unknown-linux-gnu-gcc "$@" 7 case `/bin/uname -m` in 8 x86_64) 9 /usr/bin/gcc "$@" 10 ;; 11 *) 12 /tools/bin/x86_64-unknown-linux-gnu-gcc "$@" 13 ;; 14 esac 8 15 ;; 9 16 esac trunk/packages/linux64/fakes-for-fglrx/ld
r1935 r2000 1 1 #!/bin/sh 2 /tools/bin/x86_64-unknown-linux-gnu-ld "$@" 2 case `/bin/uname -m` in 3 x86_64) 4 /usr/bin/ld "$@" 5 ;; 6 *) 7 /tools/bin/x86_64-unknown-linux-gnu-ld "$@" 8 ;; 9 esac trunk/packages/linux64/fakes-for-fglrx/objdump
r1935 r2000 1 1 #!/bin/sh 2 /tools/bin/x86_64-unknown-linux-gnu-objdump "$@" 2 case `/bin/uname -m` in 3 x86_64) 4 /usr/bin/objdump "$@" 5 ;; 6 *) 7 /tools/bin/x86_64-unknown-linux-gnu-objdump "$@" 8 ;; 9 esac trunk/packages/traceroute/Makefile
r1816 r2000 9 9 SHA-$(FILE)= c68ec1b09539a8e9655c138031c3090bda92d5f1 10 10 11 PATCH= $(DIR)-update_config-1.patch 12 URL-$(PATCH)= http://svn.cross-lfs.org/svn/repos/patches/$(NM)/$(PATCH) 13 SHA-$(PATCH)= f52c3772bcd63f9f06137128d8e3b64c7c533743 14 11 15 # Targets 12 16 … … 17 21 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 18 22 19 stage2: Makefile $(FILE) 23 stage2: Makefile $(FILE) $(PATCH) 20 24 $(std_build) 21 25 22 26 compile-stage2: 27 patch -Np1 -i ../$(PATCH) 23 28 sed -i -e 's/-o bin/-o root/' Makefile.in 24 29 ./configure --prefix=/usr trunk/packages/unzip/Makefile
r1871 r2000 21 21 22 22 compile-stage2: 23 ifeq ($(CD_ARCH),x86) 23 24 make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux 25 else 26 make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux_noasm 27 endif 24 28 make prefix=/usr MANDIR=/usr/share/man/man1 install 25 29 trunk/packages/vbetool/Makefile
r1813 r2000 22 22 23 23 compile-stage2: 24 ifeq ($(CD_ARCH),x86) 24 25 ./configure --prefix=/usr 26 endif 27 ifeq ($(CD_ARCH),x86_64) 28 ./configure --prefix=/usr --with-x86emu 29 endif 25 30 make 26 31 make install trunk/packages/zlib/Makefile
r1816 r2000 29 29 30 30 compile-stage2: 31 ./configure --prefix=/usr --shared --libdir=/lib32 make31 unset CFLAGS ; ./configure --prefix=/usr --shared --libdir=/lib 32 unset CFLAGS ; make 33 33 make install 34 34 rm /lib/libz.so 35 35 ln -sf ../../lib/libz.so.$(VRS) /usr/lib/libz.so 36 36 make clean 37 ./configure --prefix=/usr38 make37 unset CFLAGS ; ./configure --prefix=/usr 38 unset CFLAGS ; make 39 39 make install 40 40 chmod 644 /usr/lib/libz.a trunk/scripts/shutdown-helper
r1968 r2000 1 1 #!/bin/sh 2 2 3 case `uname -m` in 4 i[3456]86) LINKER="ld-linux.so.2" ;; 5 6 x86_64) LINKER="ld-linux-x86-64.so.2" ;; 7 esac 8 3 9 FILES="/lib/libc.so.6 4 /lib/ ld-linux.so.210 /lib/${LINKER} 5 11 /lib/libreadline.so.5 6 12 /lib/libhistory.so.5 … … 46 52 ln -s /proc/mounts /dev/shm/etc/mtab 47 53 echo "$FILES" | cpio -pLd --quiet /dev/shm 54 case `uname -m` in 55 x86_64) 56 ln -s lib /dev/shm/lib64 57 ln -s lib /dev/shm/usr/lib64 58 ;; 59 esac 48 60 if [ -b /dev/lfs-cd ] ; then cp -RH /dev/lfs-cd /dev/shm/dev/lfs-cd ; fi 49 61
