Changeset 1726

Show
Ignore:
Timestamp:
09/09/06 03:55:42 (2 years ago)
Author:
alexander
Message:

Added reiser4 support to grub

Location:
branches/6.2
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/6.2/Makefile

    r1724 r1726  
    230230 
    231231post-bash: ch-bzip2 ch-diffutils ch-e2fsprogs ch-file ch-findutils ch-flex \ 
    232         ch-grub ch-gawk ch-gettext ch-grep ch-groff ch-gzip ch-inetutils \ 
     232        ch-gawk ch-gettext ch-grep ch-groff ch-gzip ch-inetutils \ 
    233233        ch-iproute2 ch-kbd ch-less ch-make ch-man-db ch-mktemp \ 
    234234        ch-module-init-tools ch-patch ch-psmisc ch-shadow ch-sysklogd \ 
     
    261261        ch-hibernate-script ch-parted 
    262262ifeq ($(LFS-ARCH),x86) 
    263         make ch-vbetool ch-bin86 ch-lilo ch-syslinux ch-gcc33 ch-proprietary-drivers 
    264         make ch-binutils64 ch-gcc64 ch-linux64 
     263        make ch-vbetool ch-bin86 ch-grub ch-lilo ch-syslinux ch-gcc33 
     264        make ch-proprietary-drivers ch-binutils64 ch-gcc64 ch-linux64 
    265265endif 
    266266ifeq ($(LFS-ARCH),ppc) 
    267         make ch-yaboot 
    268         make ch-hfsutils 
    269         make ch-mac-fdisk 
     267        make ch-yaboot ch-hfsutils ch-mac-fdisk 
    270268endif 
    271269        make update-caches 
  • branches/6.2/packages/grub/Makefile

    r1685 r1726  
    1313SHA-$(PATCH1)= 651801fe6d851c9f59ccd16b6bd49f1358c9594c 
    1414 
     15PATCH2=$(DIR)-reiser4-20050808.diff 
     16URL-$(PATCH2)= ftp://ftp.namesys.com/pub/reiser4progs/$(PATCH2) 
     17SHA-$(PATCH2)= ffe2628e07a4c0dcf98360b03d9828936ca21d28 
     18 
    1519# Targets 
    1620 
     
    2125        'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 
    2226 
    23 stage2: Makefile $(FILE) $(PATCH1) 
     27stage2: Makefile $(FILE) $(PATCH1) $(PATCH2) 
    2428        $(std_build) 
    2529        cp $(SRC)/{$(FILE),$(PATCH1)} $(LFSSRC) 
    2630 
    2731compile-stage2: 
    28 ifeq ($(LFS-ARCH),x86) 
    29         patch -Np1 -i ../$(PATCH1) 
     32        patch -Np1 -i ../$(PATCH2) 
     33        # This will fail to add -fno-strict-aliasing to CFLAGS, 
     34        # but this flag is already present on the CD. So ignore the reject. 
     35        patch -Np1 -i ../$(PATCH1) || true 
     36        autoreconf --force --install --verbose 
    3037        ./configure --prefix=/usr 
    3138        make $(PM) 
    3239        make install 
    33 endif 
    3440 
    3541clean: 
  • branches/6.2/packages/reiser4progs/Makefile

    r1272 r1726  
    2121 
    2222compile-stage2: 
    23         ./configure --prefix=/usr --sbindir=/sbin 
     23        # GRUB doesn't like shared libreiser4_minimal 
     24        ./configure --prefix=/usr --sbindir=/sbin --enable-static 
    2425        make $(PM) 
    2526        make install